@fiduswriter/editor 0.1.0 → 0.1.1
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 +2 -2
- package/dist/citations/index.js.map +1 -1
- package/dist/clipboard/copy/serializers.js +1 -1
- package/dist/clipboard/copy/serializers.js.map +1 -1
- package/dist/clipboard/paste/text.js +1 -1
- package/dist/clipboard/paste/text.js.map +1 -1
- package/dist/collab/merge/editor.js +1 -1
- package/dist/collab/merge/editor.js.map +1 -1
- package/dist/collab/merge/index.js +1 -1
- package/dist/collab/merge/index.js.map +1 -1
- package/dist/dialogs/citation.js +2 -2
- package/dist/dialogs/citation.js.map +1 -1
- package/dist/dialogs/figure.js +1 -1
- package/dist/dialogs/figure.js.map +1 -1
- package/dist/document_template/index.js +1 -1
- package/dist/document_template/index.js.map +1 -1
- package/dist/exporter/native/copy.js +1 -1
- package/dist/exporter/native/copy.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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/marginboxes/templates.js +1 -1
- package/dist/marginboxes/templates.js.map +1 -1
- package/dist/menus/headerbar/model.js +4 -4
- package/dist/menus/headerbar/model.js.map +1 -1
- package/dist/menus/image/model.js +1 -1
- package/dist/menus/image/model.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/package.json +2 -2
- package/src/citations/index.js +2 -2
- package/src/clipboard/copy/serializers.js +1 -1
- package/src/clipboard/paste/text.js +1 -1
- package/src/collab/merge/editor.js +1 -1
- package/src/collab/merge/index.js +1 -1
- package/src/dialogs/citation.js +2 -2
- package/src/dialogs/figure.js +1 -1
- package/src/document_template/index.js +1 -1
- package/src/exporter/native/copy.js +1 -1
- package/src/images/edit_dialog/edit_dialog/model.js +1 -1
- package/src/index.js +3 -3
- package/src/marginboxes/templates.js +1 -1
- package/src/menus/headerbar/model.js +4 -4
- package/src/menus/image/model.js +1 -1
- package/src/state_plugins/inline_reference/dropup.js +1 -1
package/src/dialogs/figure.js
CHANGED
|
@@ -2,7 +2,7 @@ import deepEqual from "fast-deep-equal"
|
|
|
2
2
|
|
|
3
3
|
import {randomFigureId} from "@fiduswriter/document/schema/common/index"
|
|
4
4
|
import {ContentMenu, Dialog, addAlert, dropdownSelect} from "fwtoolkit"
|
|
5
|
-
import {ImageSelectionDialog} from "
|
|
5
|
+
import {ImageSelectionDialog} from "../images/selection_dialog"
|
|
6
6
|
import {E2EEEncryptor} from "../e2ee/encryptor"
|
|
7
7
|
import {configureFigureTemplate} from "./templates"
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import {SaveCopy as GenericSaveCopy} from "@fiduswriter/document/exporter/native
|
|
|
2
2
|
import {addProgress, gettext, shortFileTitle} from "fwtoolkit"
|
|
3
3
|
import {E2EEEncryptor} from "../../e2ee/encryptor"
|
|
4
4
|
import {E2EEKeyManager} from "../../e2ee/key-manager"
|
|
5
|
-
import {NativeImporter} from "
|
|
5
|
+
import {NativeImporter} from "@fiduswriter/document/importer/native"
|
|
6
6
|
|
|
7
7
|
export class SaveCopy extends GenericSaveCopy {
|
|
8
8
|
constructor(
|
package/src/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {E2EESnapshotManager} from "./e2ee/snapshot-manager"
|
|
|
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 "
|
|
39
|
+
import {plugins} from "./plugins/editor"
|
|
40
40
|
import {ModCitations} from "./citations"
|
|
41
41
|
import {ModCollab} from "./collab"
|
|
42
42
|
import {ModComments} from "./comments"
|
|
@@ -60,8 +60,8 @@ import {ModNavigator} from "./navigator"
|
|
|
60
60
|
import {NoCollabSave} from "./no_collab_save"
|
|
61
61
|
import {ModTrack, acceptAllNoInsertions, amendTransaction} from "./track"
|
|
62
62
|
|
|
63
|
-
import {ExportFidusFile} from "
|
|
64
|
-
import {imageEditModel} from "
|
|
63
|
+
import {ExportFidusFile} from "./exporter/native/file"
|
|
64
|
+
import {imageEditModel} from "./images/edit_dialog/model"
|
|
65
65
|
import {buildEditorKeymap} from "./keymap"
|
|
66
66
|
import {
|
|
67
67
|
accessRightsPlugin,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {avatarTemplate, escapeText, localizeDate} from "fwtoolkit"
|
|
2
2
|
import {READ_ONLY_ROLES} from "../"
|
|
3
|
-
import {serializeHelp} from "
|
|
3
|
+
import {serializeHelp} from "../document_template"
|
|
4
4
|
import {serializeComment} from "../comments/editors"
|
|
5
5
|
|
|
6
6
|
/** A template for an answer to a comment */
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
postJson,
|
|
6
6
|
shortFileTitle
|
|
7
7
|
} from "fwtoolkit"
|
|
8
|
-
import {CopyrightDialog} from "
|
|
9
|
-
import {DocumentAccessRightsDialog} from "
|
|
10
|
-
import {SaveCopy, SaveRevision} from "
|
|
11
|
-
import {ExportFidusFile} from "
|
|
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
12
|
import {LanguageDialog, RevisionDialog} from "../../dialogs"
|
|
13
13
|
import {E2EEKeyManager} from "../../e2ee/key-manager"
|
|
14
14
|
import {PassphraseManager} from "../../e2ee/passphrase-manager"
|
package/src/menus/image/model.js
CHANGED