@fiduswriter/editor 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/citations/index.js +1 -1
- package/dist/citations/index.js.map +1 -1
- package/dist/clipboard/copy/index.js +1 -1
- package/dist/clipboard/copy/index.js.map +1 -1
- package/dist/clipboard/copy/serializers.js +2 -2
- package/dist/clipboard/copy/serializers.js.map +1 -1
- package/dist/clipboard/paste/fidus_writer.js +1 -1
- package/dist/clipboard/paste/fidus_writer.js.map +1 -1
- package/dist/clipboard/paste/google_docs.js +1 -1
- package/dist/clipboard/paste/google_docs.js.map +1 -1
- package/dist/clipboard/paste/html.js +6 -6
- package/dist/clipboard/paste/html.js.map +1 -1
- package/dist/clipboard/paste/index.js +2 -2
- package/dist/clipboard/paste/index.js.map +1 -1
- package/dist/clipboard/paste/libreoffice_writer.js +1 -1
- package/dist/clipboard/paste/libreoffice_writer.js.map +1 -1
- package/dist/clipboard/paste/microsoft_word.js +1 -1
- package/dist/clipboard/paste/microsoft_word.js.map +1 -1
- package/dist/clipboard/paste/text.js +1 -1
- package/dist/clipboard/paste/text.js.map +1 -1
- package/dist/collab/chat.js +2 -2
- package/dist/collab/chat.js.map +1 -1
- package/dist/collab/doc.js +7 -7
- package/dist/collab/doc.js.map +1 -1
- package/dist/collab/index.js +4 -4
- package/dist/collab/index.js.map +1 -1
- package/dist/collab/merge/editor.js +10 -10
- package/dist/collab/merge/editor.js.map +1 -1
- package/dist/collab/merge/footnotes.js +1 -1
- package/dist/collab/merge/footnotes.js.map +1 -1
- package/dist/collab/merge/index.js +7 -7
- package/dist/collab/merge/index.js.map +1 -1
- package/dist/collab/merge/state_plugins/action.js +1 -1
- package/dist/collab/merge/state_plugins/action.js.map +1 -1
- package/dist/collab/merge/state_plugins/clipboard.js +1 -1
- package/dist/collab/merge/state_plugins/clipboard.js.map +1 -1
- package/dist/collab/merge/state_plugins/diff.js +4 -4
- package/dist/collab/merge/state_plugins/diff.js.map +1 -1
- package/dist/collab/merge/state_plugins/index.js +2 -2
- package/dist/collab/merge/state_plugins/index.js.map +1 -1
- package/dist/comments/editors/answer.js +1 -1
- package/dist/comments/editors/answer.js.map +1 -1
- package/dist/comments/editors/comment.js +2 -2
- package/dist/comments/editors/comment.js.map +1 -1
- package/dist/comments/editors/index.js +3 -3
- package/dist/comments/editors/index.js.map +1 -1
- package/dist/comments/editors/notify.js +1 -1
- package/dist/comments/editors/notify.js.map +1 -1
- package/dist/comments/index.js +2 -2
- package/dist/comments/index.js.map +1 -1
- package/dist/comments/interactions.js +3 -3
- package/dist/comments/interactions.js.map +1 -1
- package/dist/comments/store.js +2 -2
- package/dist/comments/store.js.map +1 -1
- package/dist/contacts/add_dialog.js +1 -1
- package/dist/contacts/add_dialog.js.map +1 -1
- package/dist/copyright_dialog/index.js +1 -1
- package/dist/copyright_dialog/index.js.map +1 -1
- package/dist/copyright_dialog/templates.js +1 -1
- package/dist/copyright_dialog/templates.js.map +1 -1
- package/dist/databases/index.js +2 -2
- package/dist/databases/index.js.map +1 -1
- package/dist/dialogs/citation.js +2 -2
- package/dist/dialogs/citation.js.map +1 -1
- package/dist/dialogs/contributor.js +1 -1
- package/dist/dialogs/contributor.js.map +1 -1
- package/dist/dialogs/figure.js +3 -3
- package/dist/dialogs/figure.js.map +1 -1
- package/dist/dialogs/index.js +10 -10
- package/dist/dialogs/index.js.map +1 -1
- package/dist/dialogs/language.js +1 -1
- package/dist/dialogs/language.js.map +1 -1
- package/dist/dialogs/link.js +2 -2
- package/dist/dialogs/link.js.map +1 -1
- package/dist/dialogs/math.js +2 -2
- package/dist/dialogs/math.js.map +1 -1
- package/dist/dialogs/ordered_list.js +1 -1
- package/dist/dialogs/ordered_list.js.map +1 -1
- package/dist/dialogs/revision.js +1 -1
- package/dist/dialogs/revision.js.map +1 -1
- package/dist/dialogs/table.js +1 -1
- package/dist/dialogs/table.js.map +1 -1
- package/dist/document_template/index.js +3 -3
- package/dist/document_template/index.js.map +1 -1
- package/dist/documents/access_rights/index.js +2 -2
- package/dist/documents/access_rights/index.js.map +1 -1
- package/dist/e2ee/passphrase-dialog.js +1 -1
- package/dist/e2ee/passphrase-dialog.js.map +1 -1
- package/dist/e2ee/passphrase-manager.js +2 -2
- package/dist/e2ee/passphrase-manager.js.map +1 -1
- package/dist/exporter/native/copy.js +2 -2
- package/dist/exporter/native/copy.js.map +1 -1
- package/dist/exporter/native/file.js +1 -1
- package/dist/exporter/native/file.js.map +1 -1
- package/dist/exporter/native/index.js +3 -3
- package/dist/exporter/native/index.js.map +1 -1
- package/dist/exporter/native/revision.js +1 -1
- package/dist/exporter/native/revision.js.map +1 -1
- package/dist/footnotes/editor.js +4 -4
- package/dist/footnotes/editor.js.map +1 -1
- package/dist/footnotes/index.js +2 -2
- package/dist/footnotes/index.js.map +1 -1
- package/dist/footnotes/layout.js +1 -1
- package/dist/footnotes/layout.js.map +1 -1
- package/dist/footnotes/state_plugins/access_rights.js +1 -1
- package/dist/footnotes/state_plugins/access_rights.js.map +1 -1
- package/dist/footnotes/state_plugins/index.js +1 -1
- package/dist/footnotes/state_plugins/index.js.map +1 -1
- package/dist/images/edit_dialog/edit_dialog/index.js +3 -3
- package/dist/images/edit_dialog/edit_dialog/index.js.map +1 -1
- package/dist/images/edit_dialog/edit_dialog/model.js +1 -1
- package/dist/images/edit_dialog/edit_dialog/model.js.map +1 -1
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/marginboxes/index.js +3 -3
- package/dist/marginboxes/index.js.map +1 -1
- package/dist/marginboxes/templates.js +3 -3
- package/dist/marginboxes/templates.js.map +1 -1
- package/dist/menus/code_block/index.js +1 -1
- package/dist/menus/code_block/index.js.map +1 -1
- package/dist/menus/code_block/model.js +1 -1
- package/dist/menus/code_block/model.js.map +1 -1
- package/dist/menus/figure/index.js +2 -2
- package/dist/menus/figure/index.js.map +1 -1
- package/dist/menus/figure/model.js +2 -2
- package/dist/menus/figure/model.js.map +1 -1
- package/dist/menus/headerbar/index.js +2 -2
- package/dist/menus/headerbar/index.js.map +1 -1
- package/dist/menus/headerbar/model.js +9 -9
- package/dist/menus/headerbar/model.js.map +1 -1
- package/dist/menus/image/index.js +1 -1
- package/dist/menus/image/index.js.map +1 -1
- package/dist/menus/image/model.js +1 -1
- package/dist/menus/image/model.js.map +1 -1
- package/dist/menus/index.js +9 -9
- package/dist/menus/index.js.map +1 -1
- package/dist/menus/navigator/index.js +1 -1
- package/dist/menus/navigator/index.js.map +1 -1
- package/dist/menus/ordered_list/index.js +1 -1
- package/dist/menus/ordered_list/index.js.map +1 -1
- package/dist/menus/ordered_list/model.js +1 -1
- package/dist/menus/ordered_list/model.js.map +1 -1
- package/dist/menus/selection/index.js +2 -2
- package/dist/menus/selection/index.js.map +1 -1
- package/dist/menus/selection/model.js +3 -3
- package/dist/menus/selection/model.js.map +1 -1
- package/dist/menus/selection/view.js +1 -1
- package/dist/menus/selection/view.js.map +1 -1
- package/dist/menus/table/index.js +1 -1
- package/dist/menus/table/index.js.map +1 -1
- package/dist/menus/table/model.js +1 -1
- package/dist/menus/table/model.js.map +1 -1
- package/dist/menus/toolbar/index.js +2 -2
- package/dist/menus/toolbar/index.js.map +1 -1
- package/dist/menus/toolbar/model.js +4 -4
- package/dist/menus/toolbar/model.js.map +1 -1
- package/dist/no_collab_save/index.js +1 -1
- package/dist/no_collab_save/index.js.map +1 -1
- package/dist/state_plugins/access_rights.js +1 -1
- package/dist/state_plugins/access_rights.js.map +1 -1
- package/dist/state_plugins/clipboard.js +3 -3
- package/dist/state_plugins/clipboard.js.map +1 -1
- package/dist/state_plugins/contributor_input/add_button.js +2 -2
- package/dist/state_plugins/contributor_input/add_button.js.map +1 -1
- package/dist/state_plugins/contributor_input/dropup.js +1 -1
- package/dist/state_plugins/contributor_input/dropup.js.map +1 -1
- package/dist/state_plugins/contributor_input/index.js +2 -2
- package/dist/state_plugins/contributor_input/index.js.map +1 -1
- package/dist/state_plugins/contributor_input/node_view.js +2 -2
- package/dist/state_plugins/contributor_input/node_view.js.map +1 -1
- package/dist/state_plugins/contributor_input/plugin.js +4 -4
- package/dist/state_plugins/contributor_input/plugin.js.map +1 -1
- package/dist/state_plugins/headerbar.js +1 -1
- package/dist/state_plugins/headerbar.js.map +1 -1
- package/dist/state_plugins/index.js +26 -26
- package/dist/state_plugins/index.js.map +1 -1
- package/dist/state_plugins/inline_math.js +3 -3
- package/dist/state_plugins/inline_math.js.map +1 -1
- package/dist/state_plugins/inline_reference/dropup.js +1 -1
- package/dist/state_plugins/inline_reference/dropup.js.map +1 -1
- package/dist/state_plugins/inline_reference/index.js +1 -1
- package/dist/state_plugins/inline_reference/index.js.map +1 -1
- package/dist/state_plugins/inline_reference/plugin.js +3 -3
- package/dist/state_plugins/inline_reference/plugin.js.map +1 -1
- package/dist/state_plugins/links.js +1 -1
- package/dist/state_plugins/links.js.map +1 -1
- package/dist/state_plugins/ordered_list_menu.js +1 -1
- package/dist/state_plugins/ordered_list_menu.js.map +1 -1
- package/dist/state_plugins/selection_menu.js +1 -1
- package/dist/state_plugins/selection_menu.js.map +1 -1
- package/dist/state_plugins/table.js +1 -1
- package/dist/state_plugins/table.js.map +1 -1
- package/dist/state_plugins/tag_input/index.js +2 -2
- package/dist/state_plugins/tag_input/index.js.map +1 -1
- package/dist/state_plugins/tag_input/node_view.js +3 -3
- package/dist/state_plugins/tag_input/node_view.js.map +1 -1
- package/dist/state_plugins/tag_input/plugin.js +3 -3
- package/dist/state_plugins/tag_input/plugin.js.map +1 -1
- package/dist/state_plugins/tag_input/tag_editor.js +2 -2
- package/dist/state_plugins/tag_input/tag_editor.js.map +1 -1
- package/dist/state_plugins/toolbar.js +1 -1
- package/dist/state_plugins/toolbar.js.map +1 -1
- package/dist/state_plugins/track/find_selected_changes.js +1 -1
- package/dist/state_plugins/track/find_selected_changes.js.map +1 -1
- package/dist/state_plugins/track/helpers.js +1 -1
- package/dist/state_plugins/track/helpers.js.map +1 -1
- package/dist/state_plugins/track/index.js +2 -2
- package/dist/state_plugins/track/index.js.map +1 -1
- package/dist/state_plugins/track/plugin.js +1 -1
- package/dist/state_plugins/track/plugin.js.map +1 -1
- package/dist/tools/index.js +3 -3
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/key_bindings/index.js +1 -1
- package/dist/tools/key_bindings/index.js.map +1 -1
- package/dist/tools/search_replace/index.js +3 -3
- package/dist/tools/search_replace/index.js.map +1 -1
- package/dist/tools/word_count/index.js +1 -1
- package/dist/tools/word_count/index.js.map +1 -1
- package/dist/track/accept.js +2 -2
- package/dist/track/accept.js.map +1 -1
- package/dist/track/accept_all.js +2 -2
- package/dist/track/accept_all.js.map +1 -1
- package/dist/track/accept_all_no_insertions.js +1 -1
- package/dist/track/accept_all_no_insertions.js.map +1 -1
- package/dist/track/index.js +4 -4
- package/dist/track/index.js.map +1 -1
- package/dist/track/mod.js +5 -5
- package/dist/track/mod.js.map +1 -1
- package/dist/track/reject.js +2 -2
- package/dist/track/reject.js.map +1 -1
- package/dist/track/reject_all.js +2 -2
- package/dist/track/reject_all.js.map +1 -1
- package/package.json +1 -1
- package/src/citations/index.js +1 -1
- package/src/clipboard/copy/index.js +1 -1
- package/src/clipboard/copy/serializers.js +2 -2
- package/src/clipboard/paste/fidus_writer.js +1 -1
- package/src/clipboard/paste/google_docs.js +1 -1
- package/src/clipboard/paste/html.js +6 -6
- package/src/clipboard/paste/index.js +2 -2
- package/src/clipboard/paste/libreoffice_writer.js +1 -1
- package/src/clipboard/paste/microsoft_word.js +1 -1
- package/src/clipboard/paste/text.js +1 -1
- package/src/collab/chat.js +2 -2
- package/src/collab/doc.js +7 -7
- package/src/collab/index.js +4 -4
- package/src/collab/merge/editor.js +10 -10
- package/src/collab/merge/footnotes.js +1 -1
- package/src/collab/merge/index.js +7 -7
- package/src/collab/merge/state_plugins/action.js +1 -1
- package/src/collab/merge/state_plugins/clipboard.js +1 -1
- package/src/collab/merge/state_plugins/diff.js +4 -4
- package/src/collab/merge/state_plugins/index.js +2 -2
- package/src/comments/editors/answer.js +1 -1
- package/src/comments/editors/comment.js +2 -2
- package/src/comments/editors/index.js +3 -3
- package/src/comments/editors/notify.js +1 -1
- package/src/comments/index.js +2 -2
- package/src/comments/interactions.js +3 -3
- package/src/comments/store.js +2 -2
- package/src/contacts/add_dialog.js +1 -1
- package/src/copyright_dialog/index.js +1 -1
- package/src/copyright_dialog/templates.js +1 -1
- package/src/databases/index.js +2 -2
- package/src/dialogs/citation.js +2 -2
- package/src/dialogs/contributor.js +1 -1
- package/src/dialogs/figure.js +3 -3
- package/src/dialogs/index.js +10 -10
- package/src/dialogs/language.js +1 -1
- package/src/dialogs/link.js +2 -2
- package/src/dialogs/math.js +2 -2
- package/src/dialogs/ordered_list.js +1 -1
- package/src/dialogs/revision.js +1 -1
- package/src/dialogs/table.js +1 -1
- package/src/document_template/index.js +3 -3
- package/src/documents/access_rights/index.js +2 -2
- package/src/e2ee/passphrase-dialog.js +1 -1
- package/src/e2ee/passphrase-manager.js +2 -2
- package/src/exporter/native/copy.js +2 -2
- package/src/exporter/native/file.js +1 -1
- package/src/exporter/native/index.js +3 -3
- package/src/exporter/native/revision.js +1 -1
- package/src/footnotes/editor.js +4 -4
- package/src/footnotes/index.js +2 -2
- package/src/footnotes/layout.js +1 -1
- package/src/footnotes/state_plugins/access_rights.js +1 -1
- package/src/footnotes/state_plugins/index.js +1 -1
- package/src/images/edit_dialog/edit_dialog/index.js +3 -3
- package/src/images/edit_dialog/edit_dialog/model.js +1 -1
- package/src/index.js +22 -22
- package/src/marginboxes/index.js +3 -3
- package/src/marginboxes/templates.js +3 -3
- package/src/menus/code_block/index.js +1 -1
- package/src/menus/code_block/model.js +1 -1
- package/src/menus/figure/index.js +2 -2
- package/src/menus/figure/model.js +2 -2
- package/src/menus/headerbar/index.js +2 -2
- package/src/menus/headerbar/model.js +9 -9
- package/src/menus/image/index.js +1 -1
- package/src/menus/image/model.js +1 -1
- package/src/menus/index.js +9 -9
- package/src/menus/navigator/index.js +1 -1
- package/src/menus/ordered_list/index.js +1 -1
- package/src/menus/ordered_list/model.js +1 -1
- package/src/menus/selection/index.js +2 -2
- package/src/menus/selection/model.js +3 -3
- package/src/menus/selection/view.js +1 -1
- package/src/menus/table/index.js +1 -1
- package/src/menus/table/model.js +1 -1
- package/src/menus/toolbar/index.js +2 -2
- package/src/menus/toolbar/model.js +4 -4
- package/src/no_collab_save/index.js +1 -1
- package/src/state_plugins/access_rights.js +1 -1
- package/src/state_plugins/clipboard.js +3 -3
- package/src/state_plugins/contributor_input/add_button.js +2 -2
- package/src/state_plugins/contributor_input/dropup.js +1 -1
- package/src/state_plugins/contributor_input/index.js +2 -2
- package/src/state_plugins/contributor_input/node_view.js +2 -2
- package/src/state_plugins/contributor_input/plugin.js +4 -4
- package/src/state_plugins/headerbar.js +1 -1
- package/src/state_plugins/index.js +26 -26
- package/src/state_plugins/inline_math.js +3 -3
- package/src/state_plugins/inline_reference/dropup.js +1 -1
- package/src/state_plugins/inline_reference/index.js +1 -1
- package/src/state_plugins/inline_reference/plugin.js +3 -3
- package/src/state_plugins/links.js +1 -1
- package/src/state_plugins/ordered_list_menu.js +1 -1
- package/src/state_plugins/selection_menu.js +1 -1
- package/src/state_plugins/table.js +1 -1
- package/src/state_plugins/tag_input/index.js +2 -2
- package/src/state_plugins/tag_input/node_view.js +3 -3
- package/src/state_plugins/tag_input/plugin.js +3 -3
- package/src/state_plugins/tag_input/tag_editor.js +2 -2
- package/src/state_plugins/toolbar.js +1 -1
- package/src/state_plugins/track/find_selected_changes.js +1 -1
- package/src/state_plugins/track/helpers.js +1 -1
- package/src/state_plugins/track/index.js +2 -2
- package/src/state_plugins/track/plugin.js +1 -1
- package/src/tools/index.js +3 -3
- package/src/tools/key_bindings/index.js +1 -1
- package/src/tools/search_replace/index.js +3 -3
- package/src/tools/word_count/index.js +1 -1
- package/src/track/accept.js +2 -2
- package/src/track/accept_all.js +2 -2
- package/src/track/accept_all_no_insertions.js +1 -1
- package/src/track/index.js +4 -4
- package/src/track/mod.js +5 -5
- package/src/track/reject.js +2 -2
- package/src/track/reject_all.js +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export {accessRightsPlugin} from "./access_rights"
|
|
1
|
+
export {accessRightsPlugin} from "./access_rights.js"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {CheckableList, ContentMenu, Dialog, addAlert} from "fwtoolkit"
|
|
2
|
-
import {E2EEEncryptor} from "../../../e2ee/encryptor"
|
|
3
|
-
import {imageEditModel} from "./model"
|
|
4
|
-
import {imageEditTemplate} from "./templates"
|
|
2
|
+
import {E2EEEncryptor} from "../../../e2ee/encryptor.js"
|
|
3
|
+
import {imageEditModel} from "./model.js"
|
|
4
|
+
import {imageEditTemplate} from "./templates.js"
|
|
5
5
|
export class ImageEditDialog {
|
|
6
6
|
constructor(imageDB, imageId = false, page) {
|
|
7
7
|
this.imageDB = imageDB
|
package/src/index.js
CHANGED
|
@@ -20,30 +20,30 @@ import {EditorState, TextSelection} from "prosemirror-state"
|
|
|
20
20
|
import {tableEditing} from "prosemirror-tables"
|
|
21
21
|
import {EditorView} from "prosemirror-view"
|
|
22
22
|
import {FeedbackTab} from "@fiduswriter/common"
|
|
23
|
-
import {E2EEEncryptor} from "./e2ee/encryptor"
|
|
24
|
-
import {E2EEKeyManager} from "./e2ee/key-manager"
|
|
23
|
+
import {E2EEEncryptor} from "./e2ee/encryptor.js"
|
|
24
|
+
import {E2EEKeyManager} from "./e2ee/key-manager.js"
|
|
25
25
|
import {
|
|
26
26
|
enterPassphraseDialog,
|
|
27
27
|
setupPassphraseDialog,
|
|
28
28
|
showRecoveryKeyDialog
|
|
29
|
-
} from "./e2ee/passphrase-dialog"
|
|
30
|
-
import {PassphraseManager} from "./e2ee/passphrase-manager"
|
|
29
|
+
} from "./e2ee/passphrase-dialog.js"
|
|
30
|
+
import {PassphraseManager} from "./e2ee/passphrase-manager.js"
|
|
31
31
|
import {
|
|
32
32
|
changePasswordDialog,
|
|
33
33
|
createPasswordDialog
|
|
34
|
-
} from "./e2ee/password-dialog"
|
|
35
|
-
import {E2EESnapshotManager} from "./e2ee/snapshot-manager"
|
|
34
|
+
} from "./e2ee/password-dialog.js"
|
|
35
|
+
import {E2EESnapshotManager} from "./e2ee/snapshot-manager.js"
|
|
36
36
|
|
|
37
37
|
import {getSettings} from "@fiduswriter/document/schema/convert"
|
|
38
38
|
import {docSchema} from "@fiduswriter/document/schema/document/index"
|
|
39
|
-
import {plugins} from "./plugins/editor"
|
|
40
|
-
import {ModCitations} from "./citations"
|
|
41
|
-
import {ModCollab} from "./collab"
|
|
42
|
-
import {ModComments} from "./comments"
|
|
43
|
-
import {ModDB} from "./databases"
|
|
44
|
-
import {ModDocumentTemplate} from "./document_template"
|
|
45
|
-
import {ModFootnotes} from "./footnotes"
|
|
46
|
-
import {ModMarginboxes} from "./marginboxes"
|
|
39
|
+
import {plugins} from "./plugins/editor/index.js"
|
|
40
|
+
import {ModCitations} from "./citations/index.js"
|
|
41
|
+
import {ModCollab} from "./collab/index.js"
|
|
42
|
+
import {ModComments} from "./comments/index.js"
|
|
43
|
+
import {ModDB} from "./databases/index.js"
|
|
44
|
+
import {ModDocumentTemplate} from "./document_template/index.js"
|
|
45
|
+
import {ModFootnotes} from "./footnotes/index.js"
|
|
46
|
+
import {ModMarginboxes} from "./marginboxes/index.js"
|
|
47
47
|
import {
|
|
48
48
|
codeBlockMenuModel,
|
|
49
49
|
figureMenuModel,
|
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
selectionMenuModel,
|
|
56
56
|
tableMenuModel,
|
|
57
57
|
toolbarModel
|
|
58
|
-
} from "./menus"
|
|
59
|
-
import {ModNavigator} from "./navigator"
|
|
60
|
-
import {NoCollabSave} from "./no_collab_save"
|
|
61
|
-
import {ModTrack, acceptAllNoInsertions, amendTransaction} from "./track"
|
|
58
|
+
} from "./menus/index.js"
|
|
59
|
+
import {ModNavigator} from "./navigator/index.js"
|
|
60
|
+
import {NoCollabSave} from "./no_collab_save/index.js"
|
|
61
|
+
import {ModTrack, acceptAllNoInsertions, amendTransaction} from "./track/index.js"
|
|
62
62
|
|
|
63
|
-
import {ExportFidusFile} from "./exporter/native/file"
|
|
64
|
-
import {imageEditModel} from "./images/edit_dialog/model"
|
|
65
|
-
import {buildEditorKeymap} from "./keymap"
|
|
63
|
+
import {ExportFidusFile} from "./exporter/native/file.js"
|
|
64
|
+
import {imageEditModel} from "./images/edit_dialog/model.js"
|
|
65
|
+
import {buildEditorKeymap} from "./keymap.js"
|
|
66
66
|
import {
|
|
67
67
|
accessRightsPlugin,
|
|
68
68
|
citationRenderPlugin,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
tocRenderPlugin,
|
|
91
91
|
toolbarPlugin,
|
|
92
92
|
trackPlugin
|
|
93
|
-
} from "./state_plugins"
|
|
93
|
+
} from "./state_plugins/index.js"
|
|
94
94
|
|
|
95
95
|
// UUID v4 pattern for share tokens
|
|
96
96
|
const uuid4Pattern =
|
package/src/marginboxes/index.js
CHANGED
|
@@ -2,18 +2,18 @@ import {DiffDOM, stringToObj} from "diff-dom"
|
|
|
2
2
|
import fastdom from "fastdom"
|
|
3
3
|
|
|
4
4
|
import {cancelPromise, findTarget} from "fwtoolkit"
|
|
5
|
-
import {READ_ONLY_ROLES} from "
|
|
5
|
+
import {READ_ONLY_ROLES} from "../index.js"
|
|
6
6
|
import {
|
|
7
7
|
getCommentDuringCreationDecoration,
|
|
8
8
|
getFootnoteMarkers,
|
|
9
9
|
getSelectedChanges
|
|
10
|
-
} from "../state_plugins"
|
|
10
|
+
} from "../state_plugins/index.js"
|
|
11
11
|
import {
|
|
12
12
|
globalCommentsTemplate,
|
|
13
13
|
marginBoxOptions,
|
|
14
14
|
marginBoxesTemplate,
|
|
15
15
|
marginboxFilterTemplate
|
|
16
|
-
} from "./templates"
|
|
16
|
+
} from "./templates.js"
|
|
17
17
|
|
|
18
18
|
/* Functions related to layouting of comments */
|
|
19
19
|
export class ModMarginboxes {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {avatarTemplate, escapeText, localizeDate} from "fwtoolkit"
|
|
2
|
-
import {READ_ONLY_ROLES} from "
|
|
3
|
-
import {serializeHelp} from "../document_template"
|
|
4
|
-
import {serializeComment} from "../comments/editors"
|
|
2
|
+
import {READ_ONLY_ROLES} from "..//index.js"
|
|
3
|
+
import {serializeHelp} from "../document_template/index.js"
|
|
4
|
+
import {serializeComment} from "../comments/editors/index.js"
|
|
5
5
|
|
|
6
6
|
/** A template for an answer to a comment */
|
|
7
7
|
const answerCommentTemplate = ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {codeBlockMenuModel} from "./model"
|
|
1
|
+
export {codeBlockMenuModel} from "./model.js"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {figureMenuModel} from "./model"
|
|
2
|
-
export {figureWidthMenuModel} from "./model"
|
|
1
|
+
export {figureMenuModel} from "./model.js"
|
|
2
|
+
export {figureWidthMenuModel} from "./model.js"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {headerbarModel} from "./model"
|
|
2
|
-
export {HeaderbarView} from "./view"
|
|
1
|
+
export {headerbarModel} from "./model.js"
|
|
2
|
+
export {HeaderbarView} from "./view.js"
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
postJson,
|
|
6
6
|
shortFileTitle
|
|
7
7
|
} from "fwtoolkit"
|
|
8
|
-
import {CopyrightDialog} from "../../copyright_dialog"
|
|
9
|
-
import {DocumentAccessRightsDialog} from "../../documents/access_rights"
|
|
10
|
-
import {SaveCopy, SaveRevision} from "../../exporter/native"
|
|
11
|
-
import {ExportFidusFile} from "../../exporter/native/file"
|
|
12
|
-
import {LanguageDialog, RevisionDialog} from "../../dialogs"
|
|
13
|
-
import {E2EEKeyManager} from "../../e2ee/key-manager"
|
|
14
|
-
import {PassphraseManager} from "../../e2ee/passphrase-manager"
|
|
15
|
-
import {changePasswordDialog} from "../../e2ee/password-dialog"
|
|
8
|
+
import {CopyrightDialog} from "../../copyright_dialog/index.js"
|
|
9
|
+
import {DocumentAccessRightsDialog} from "../../documents/access_rights/index.js"
|
|
10
|
+
import {SaveCopy, SaveRevision} from "../../exporter/native/index.js"
|
|
11
|
+
import {ExportFidusFile} from "../../exporter/native/file.js"
|
|
12
|
+
import {LanguageDialog, RevisionDialog} from "../../dialogs/index.js"
|
|
13
|
+
import {E2EEKeyManager} from "../../e2ee/key-manager.js"
|
|
14
|
+
import {PassphraseManager} from "../../e2ee/passphrase-manager.js"
|
|
15
|
+
import {changePasswordDialog} from "../../e2ee/password-dialog.js"
|
|
16
16
|
import {
|
|
17
17
|
KeyBindingsDialog,
|
|
18
18
|
SearchReplaceDialog,
|
|
19
19
|
WordCountDialog
|
|
20
|
-
} from "../../tools"
|
|
20
|
+
} from "../../tools/index.js"
|
|
21
21
|
|
|
22
22
|
const exportProgress = doc => {
|
|
23
23
|
const title = shortFileTitle(doc.title, doc.path || "")
|
package/src/menus/image/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {imageMenuModel} from "./model"
|
|
1
|
+
export {imageMenuModel} from "./model.js"
|
package/src/menus/image/model.js
CHANGED
package/src/menus/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {HeaderbarView, headerbarModel} from "./headerbar"
|
|
2
|
-
export {ToolbarView, toolbarModel} from "./toolbar"
|
|
3
|
-
export {SelectionMenuView, selectionMenuModel} from "./selection"
|
|
4
|
-
export {tableMenuModel} from "./table"
|
|
5
|
-
export {orderedListMenuModel} from "./ordered_list"
|
|
6
|
-
export {imageMenuModel} from "./image"
|
|
7
|
-
export {navigatorFilterModel} from "./navigator"
|
|
8
|
-
export {figureMenuModel, figureWidthMenuModel} from "./figure"
|
|
9
|
-
export {codeBlockMenuModel} from "./code_block"
|
|
1
|
+
export {HeaderbarView, headerbarModel} from "./headerbar/index.js"
|
|
2
|
+
export {ToolbarView, toolbarModel} from "./toolbar/index.js"
|
|
3
|
+
export {SelectionMenuView, selectionMenuModel} from "./selection/index.js"
|
|
4
|
+
export {tableMenuModel} from "./table/index.js"
|
|
5
|
+
export {orderedListMenuModel} from "./ordered_list/index.js"
|
|
6
|
+
export {imageMenuModel} from "./image/index.js"
|
|
7
|
+
export {navigatorFilterModel} from "./navigator/index.js"
|
|
8
|
+
export {figureMenuModel, figureWidthMenuModel} from "./figure/index.js"
|
|
9
|
+
export {codeBlockMenuModel} from "./code_block/index.js"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {navigatorFilterModel} from "./model"
|
|
1
|
+
export {navigatorFilterModel} from "./model.js"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {orderedListMenuModel} from "./model"
|
|
1
|
+
export {orderedListMenuModel} from "./model.js"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {selectionMenuModel} from "./model"
|
|
2
|
-
export {SelectionMenuView} from "./view"
|
|
1
|
+
export {selectionMenuModel} from "./model.js"
|
|
2
|
+
export {SelectionMenuView} from "./view.js"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {toggleMark} from "prosemirror-commands"
|
|
2
2
|
|
|
3
3
|
import {randomAnchorId} from "@fiduswriter/document/schema/common/index"
|
|
4
|
-
import {COMMENT_ONLY_ROLES} from "
|
|
5
|
-
import {checkProtectedInSelection} from "../../state_plugins"
|
|
6
|
-
import {acceptAll, rejectAll} from "../../track"
|
|
4
|
+
import {COMMENT_ONLY_ROLES} from "../../index.js"
|
|
5
|
+
import {checkProtectedInSelection} from "../../state_plugins/index.js"
|
|
6
|
+
import {acceptAll, rejectAll} from "../../track/index.js"
|
|
7
7
|
|
|
8
8
|
const tracksInSelection = view => {
|
|
9
9
|
// Check whether track marks are present within the range of selection
|
package/src/menus/table/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {tableMenuModel} from "./model"
|
|
1
|
+
export {tableMenuModel} from "./model.js"
|
package/src/menus/table/model.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
toggleHeaderColumn,
|
|
12
12
|
toggleHeaderRow
|
|
13
13
|
} from "prosemirror-tables"
|
|
14
|
-
import {TableConfigurationDialog} from "../../dialogs"
|
|
14
|
+
import {TableConfigurationDialog} from "../../dialogs/index.js"
|
|
15
15
|
|
|
16
16
|
// from https://github.com/ProseMirror/prosemirror-tables/blob/master/src/util.js
|
|
17
17
|
const findTable = state => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {toolbarModel} from "./model"
|
|
2
|
-
export {ToolbarView} from "./view"
|
|
1
|
+
export {toolbarModel} from "./model.js"
|
|
2
|
+
export {ToolbarView} from "./view.js"
|
|
@@ -2,20 +2,20 @@ import {toggleMark, wrapIn} from "prosemirror-commands"
|
|
|
2
2
|
import {redo, redoDepth, undo, undoDepth} from "prosemirror-history"
|
|
3
3
|
import {wrapInList} from "prosemirror-schema-list"
|
|
4
4
|
|
|
5
|
-
import {COMMENT_ONLY_ROLES, READ_ONLY_ROLES} from "
|
|
5
|
+
import {COMMENT_ONLY_ROLES, READ_ONLY_ROLES} from "../../index.js"
|
|
6
6
|
import {
|
|
7
7
|
CitationDialog,
|
|
8
8
|
FigureDialog,
|
|
9
9
|
LinkDialog,
|
|
10
10
|
MathDialog,
|
|
11
11
|
TableDialog
|
|
12
|
-
} from "../../dialogs"
|
|
13
|
-
import {setBlockType} from "../../keymap"
|
|
12
|
+
} from "../../dialogs/index.js"
|
|
13
|
+
import {setBlockType} from "../../keymap.js"
|
|
14
14
|
import {
|
|
15
15
|
checkProtectedInSelection,
|
|
16
16
|
getInlineReferenceState,
|
|
17
17
|
setInlineReferenceState
|
|
18
|
-
} from "../../state_plugins"
|
|
18
|
+
} from "../../state_plugins/index.js"
|
|
19
19
|
|
|
20
20
|
const BLOCK_LABELS = {
|
|
21
21
|
paragraph: gettext("Normal Text"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {addAlert, postJson} from "fwtoolkit"
|
|
2
2
|
import {receiveTransaction} from "prosemirror-collab"
|
|
3
3
|
import {Transform} from "prosemirror-transform"
|
|
4
|
-
import {recreateTransform} from "../collab/merge/recreate_transform"
|
|
4
|
+
import {recreateTransform} from "../collab/merge/recreate_transform.js"
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Handles periodic saving and conflict resolution for the editor
|
|
@@ -4,9 +4,9 @@ import {Fragment, Slice} from "prosemirror-model"
|
|
|
4
4
|
import {Plugin, PluginKey, TextSelection} from "prosemirror-state"
|
|
5
5
|
import {ReplaceStep} from "prosemirror-transform"
|
|
6
6
|
|
|
7
|
-
import {docClipboardSerializer, fnClipboardSerializer} from "../clipboard/copy"
|
|
8
|
-
import {HTMLPaste, TextPaste} from "../clipboard/paste"
|
|
9
|
-
import {getAllowedElementsAndMarks} from "./document_template"
|
|
7
|
+
import {docClipboardSerializer, fnClipboardSerializer} from "../clipboard/copy/index.js"
|
|
8
|
+
import {HTMLPaste, TextPaste} from "../clipboard/paste/index.js"
|
|
9
|
+
import {getAllowedElementsAndMarks} from "./document_template.js"
|
|
10
10
|
|
|
11
11
|
const key = new PluginKey("clipboard")
|
|
12
12
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {keyName} from "w3c-keyname"
|
|
2
2
|
|
|
3
3
|
import {NodeSelection} from "prosemirror-state"
|
|
4
|
-
import {ContributorDialog} from "../../dialogs"
|
|
5
|
-
import {nextSelection} from "./helpers"
|
|
4
|
+
import {ContributorDialog} from "../../dialogs/index.js"
|
|
5
|
+
import {nextSelection} from "./helpers.js"
|
|
6
6
|
|
|
7
7
|
export class AddButton {
|
|
8
8
|
constructor(dom, getNode, getPos, view, idTypes) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {contributorInputPlugin} from "./plugin"
|
|
2
|
-
export {ContributorsPartView} from "./node_view"
|
|
1
|
+
export {contributorInputPlugin} from "./plugin.js"
|
|
2
|
+
export {ContributorsPartView} from "./node_view.js"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {keyName} from "w3c-keyname"
|
|
2
|
-
import {addDeletedPartWidget} from "../document_template"
|
|
2
|
+
import {addDeletedPartWidget} from "../document_template.js"
|
|
3
3
|
|
|
4
|
-
import {AddButton} from "./add_button"
|
|
4
|
+
import {AddButton} from "./add_button.js"
|
|
5
5
|
|
|
6
6
|
export class ContributorsPartView {
|
|
7
7
|
constructor(node, view, getPos) {
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
import {NodeSelection, Plugin, PluginKey} from "prosemirror-state"
|
|
12
12
|
import {Decoration, DecorationSet} from "prosemirror-view"
|
|
13
13
|
|
|
14
|
-
import {ContributorDialog} from "../../dialogs"
|
|
15
|
-
import {createDropUp} from "./dropup"
|
|
16
|
-
import {nextSelection} from "./helpers"
|
|
17
|
-
import {ContributorsPartView} from "./node_view"
|
|
14
|
+
import {ContributorDialog} from "../../dialogs/index.js"
|
|
15
|
+
import {createDropUp} from "./dropup.js"
|
|
16
|
+
import {nextSelection} from "./helpers.js"
|
|
17
|
+
import {ContributorsPartView} from "./node_view.js"
|
|
18
18
|
|
|
19
19
|
const key = new PluginKey("contributorInput")
|
|
20
20
|
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
export {accessRightsPlugin} from "./access_rights"
|
|
1
|
+
export {accessRightsPlugin} from "./access_rights.js"
|
|
2
2
|
export {
|
|
3
3
|
contributorInputPlugin,
|
|
4
4
|
ContributorsPartView
|
|
5
|
-
} from "./contributor_input"
|
|
6
|
-
export {citationRenderPlugin} from "./citation_render"
|
|
7
|
-
export {clipboardPlugin} from "./clipboard"
|
|
5
|
+
} from "./contributor_input/index.js"
|
|
6
|
+
export {citationRenderPlugin} from "./citation_render.js"
|
|
7
|
+
export {clipboardPlugin} from "./clipboard.js"
|
|
8
8
|
export {
|
|
9
9
|
getSelectionUpdate,
|
|
10
10
|
updateCollaboratorSelection,
|
|
11
11
|
removeCollaboratorSelection,
|
|
12
12
|
collabCaretsPlugin
|
|
13
|
-
} from "./collab_carets"
|
|
13
|
+
} from "./collab_carets.js"
|
|
14
14
|
export {
|
|
15
15
|
addCommentDuringCreationDecoration,
|
|
16
16
|
removeCommentDuringCreationDecoration,
|
|
17
17
|
getCommentDuringCreationDecoration,
|
|
18
18
|
commentsPlugin
|
|
19
|
-
} from "./comments"
|
|
19
|
+
} from "./comments.js"
|
|
20
20
|
export {
|
|
21
21
|
documentTemplatePlugin,
|
|
22
22
|
checkProtectedInSelection,
|
|
23
23
|
getProtectedRanges,
|
|
24
24
|
getAllowedElementsAndMarks
|
|
25
|
-
} from "./document_template"
|
|
25
|
+
} from "./document_template.js"
|
|
26
26
|
export {
|
|
27
27
|
findFootnoteMarkers,
|
|
28
28
|
getFootnoteMarkerContents,
|
|
29
29
|
updateFootnoteMarker,
|
|
30
30
|
getFootnoteMarkers,
|
|
31
31
|
footnoteMarkersPlugin
|
|
32
|
-
} from "./footnote_markers"
|
|
33
|
-
export {headerbarPlugin} from "./headerbar"
|
|
34
|
-
export {jumpHiddenNodesPlugin} from "./jump_hidden_nodes"
|
|
32
|
+
} from "./footnote_markers.js"
|
|
33
|
+
export {headerbarPlugin} from "./headerbar.js"
|
|
34
|
+
export {jumpHiddenNodesPlugin} from "./jump_hidden_nodes.js"
|
|
35
35
|
export {
|
|
36
36
|
linksPlugin,
|
|
37
37
|
getInternalTargets
|
|
38
|
-
} from "./links"
|
|
39
|
-
export {marginboxesPlugin} from "./marginboxes"
|
|
40
|
-
export {orderedListMenuPlugin} from "./ordered_list_menu"
|
|
41
|
-
export {placeholdersPlugin} from "./placeholders"
|
|
42
|
-
export {selectionMenuPlugin} from "./selection_menu"
|
|
43
|
-
export {settingsPlugin} from "./settings"
|
|
44
|
-
export {tablePlugin} from "./table"
|
|
45
|
-
export {figurePlugin} from "./figure"
|
|
46
|
-
export {codeBlockPlugin} from "./code_block"
|
|
38
|
+
} from "./links.js"
|
|
39
|
+
export {marginboxesPlugin} from "./marginboxes.js"
|
|
40
|
+
export {orderedListMenuPlugin} from "./ordered_list_menu.js"
|
|
41
|
+
export {placeholdersPlugin} from "./placeholders.js"
|
|
42
|
+
export {selectionMenuPlugin} from "./selection_menu.js"
|
|
43
|
+
export {settingsPlugin} from "./settings.js"
|
|
44
|
+
export {tablePlugin} from "./table.js"
|
|
45
|
+
export {figurePlugin} from "./figure.js"
|
|
46
|
+
export {codeBlockPlugin} from "./code_block.js"
|
|
47
47
|
export {
|
|
48
48
|
tagInputPlugin,
|
|
49
49
|
TagsPartView
|
|
50
|
-
} from "./tag_input"
|
|
51
|
-
export {tocRenderPlugin} from "./toc_render"
|
|
52
|
-
export {toolbarPlugin} from "./toolbar"
|
|
50
|
+
} from "./tag_input/index.js"
|
|
51
|
+
export {tocRenderPlugin} from "./toc_render.js"
|
|
52
|
+
export {toolbarPlugin} from "./toolbar.js"
|
|
53
53
|
export {
|
|
54
54
|
trackPlugin,
|
|
55
55
|
getSelectedChanges,
|
|
56
56
|
setSelectedChanges,
|
|
57
57
|
deactivateAllSelectedChanges
|
|
58
|
-
} from "./track"
|
|
58
|
+
} from "./track/index.js"
|
|
59
59
|
export {
|
|
60
60
|
searchPlugin,
|
|
61
61
|
setSearchTerm,
|
|
@@ -64,10 +64,10 @@ export {
|
|
|
64
64
|
selectNextSearchMatch,
|
|
65
65
|
deselectSearchMatch,
|
|
66
66
|
endSearch
|
|
67
|
-
} from "./search"
|
|
67
|
+
} from "./search.js"
|
|
68
68
|
export {
|
|
69
69
|
inlineReferencePlugin,
|
|
70
70
|
getInlineReferenceState,
|
|
71
71
|
setInlineReferenceState
|
|
72
|
-
} from "./inline_reference"
|
|
73
|
-
export {inlineMathPlugin} from "./inline_math"
|
|
72
|
+
} from "./inline_reference/index.js"
|
|
73
|
+
export {inlineMathPlugin} from "./inline_math.js"
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
} from "prosemirror-state"
|
|
7
7
|
import {Decoration, DecorationSet} from "prosemirror-view"
|
|
8
8
|
|
|
9
|
-
import {COMMENT_ONLY_ROLES, READ_ONLY_ROLES} from "
|
|
10
|
-
import {MathDialog} from "../dialogs"
|
|
11
|
-
import {elementDisabled} from "../menus/toolbar/model"
|
|
9
|
+
import {COMMENT_ONLY_ROLES, READ_ONLY_ROLES} from "../index.js"
|
|
10
|
+
import {MathDialog} from "../dialogs/index.js"
|
|
11
|
+
import {elementDisabled} from "../menus/toolbar/model.js"
|
|
12
12
|
|
|
13
13
|
const key = new PluginKey("inlineMath")
|
|
14
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {escapeText} from "fwtoolkit"
|
|
2
2
|
import {dateToYear, litToText, nameToText} from "@fiduswriter/bibliography-manager/tools"
|
|
3
|
-
import {getInternalTargets} from "../links"
|
|
3
|
+
import {getInternalTargets} from "../links.js"
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Create a drop-up widget for the inline reference editor.
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
TextSelection
|
|
6
6
|
} from "prosemirror-state"
|
|
7
7
|
import {Decoration, DecorationSet} from "prosemirror-view"
|
|
8
|
-
import {COMMENT_ONLY_ROLES, READ_ONLY_ROLES} from "
|
|
9
|
-
import {elementDisabled} from "../../menus/toolbar/model"
|
|
8
|
+
import {COMMENT_ONLY_ROLES, READ_ONLY_ROLES} from "../../index.js"
|
|
9
|
+
import {elementDisabled} from "../../menus/toolbar/model.js"
|
|
10
10
|
import {
|
|
11
11
|
buildBibliographyList,
|
|
12
12
|
buildCrossRefList,
|
|
13
13
|
createInlineReferenceDropUp,
|
|
14
14
|
filterBibliography,
|
|
15
15
|
filterCrossRefs
|
|
16
|
-
} from "./dropup"
|
|
16
|
+
} from "./dropup.js"
|
|
17
17
|
|
|
18
18
|
const key = new PluginKey("inlineReference")
|
|
19
19
|
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "@fiduswriter/document/schema/common/index"
|
|
11
11
|
import {CATS} from "@fiduswriter/document/schema/i18n"
|
|
12
12
|
import {addAlert, noSpaceTmp} from "fwtoolkit"
|
|
13
|
-
import {CitationDialog, LinkDialog} from "../dialogs"
|
|
13
|
+
import {CitationDialog, LinkDialog} from "../dialogs/index.js"
|
|
14
14
|
|
|
15
15
|
const key = new PluginKey("links")
|
|
16
16
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {tagInputPlugin} from "./plugin"
|
|
2
|
-
export {TagsPartView} from "./node_view"
|
|
1
|
+
export {tagInputPlugin} from "./plugin.js"
|
|
2
|
+
export {TagsPartView} from "./node_view.js"
|