diff --git a/composer.json b/composer.json
index b6edbc6..18d9142 100644
--- a/composer.json
+++ b/composer.json
@@ -1,5 +1,5 @@
{
- "name": "roblib/bibcite_footnotes_2",
+ "name": "roblib/bibcite_footnotes",
"description": "Inline footnote links for BibCite References with CKEditor 4 and CKEditor 5 support.",
"type": "drupal-module",
"homepage": "https://drupal.org/project/bibcite_footnotes",
diff --git a/js/ckeditor5_plugins/footnotepicker2/build/footnotepicker2.js b/js/ckeditor5_plugins/footnotepicker2/build/footnotepicker2.js
index f2982bd..0cfe96e 100644
--- a/js/ckeditor5_plugins/footnotepicker2/build/footnotepicker2.js
+++ b/js/ckeditor5_plugins/footnotepicker2/build/footnotepicker2.js
@@ -143,7 +143,7 @@
$wrapper.append('Leave blank for an automatic sequential reference number, or enter a custom footnote value
');
const dialog = Drupal.dialog($wrapper.get(0), {
- title: 'Reference Footnotes Dialog',
+ title: 'Reference Footnotes',
width: 900,
buttons: [
{
@@ -204,9 +204,9 @@
`;
button.set({
- label: 'Footnote',
+ label: 'Reference Footnotes',
icon: footnoteIcon,
- tooltip: 'Insert footnote',
+ tooltip: 'Insert reference footnote',
withText: false,
});
diff --git a/js/ckeditor5_plugins/footnotepicker2/src/plugin.js b/js/ckeditor5_plugins/footnotepicker2/src/plugin.js
index 631f203..2175f81 100644
--- a/js/ckeditor5_plugins/footnotepicker2/src/plugin.js
+++ b/js/ckeditor5_plugins/footnotepicker2/src/plugin.js
@@ -7,8 +7,7 @@ import { ButtonView } from 'ckeditor5/src/ui';
* NOTE: This source file is not used by Drupal unless you build it.
* The build output lives in ../build/footnotepicker2.js
*/
-import { Plugin } from 'ckeditor5/src/core';
-import { ButtonView } from 'ckeditor5/src/ui';
+
export default class FootnotePicker2 extends Plugin {
init() {
@@ -17,9 +16,9 @@ export default class FootnotePicker2 extends Plugin {
editor.ui.componentFactory.add('footnotePicker2', (locale) => {
const button = new ButtonView(locale);
button.set({
- label: 'Footnote',
+ label: 'Reference Footnotes',
withText: true,
- tooltip: 'Insert footnote',
+ tooltip: 'Insert reference footnote',
});
button.on('execute', () => {