@harbour-enterprises/superdoc 0.7.5 → 0.7.6
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/chunks/{super-editor.es-BxTorkWW.js → super-editor.es-C8lN_1SL.js} +7 -4
- package/dist/chunks/{super-editor.es-BxTorkWW.js.map → super-editor.es-C8lN_1SL.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-C9Qhiyrd.js → converter-1et2Hxzg.js} +3 -3
- package/dist/super-editor/chunks/{converter-C9Qhiyrd.js.map → converter-1et2Hxzg.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-DGbAwdD-.js → docx-zipper-dtToaaMe.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-DGbAwdD-.js.map → docx-zipper-dtToaaMe.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-u6GeISqP.js → editor-DB_c_1aS.js} +7 -4
- package/dist/super-editor/chunks/editor-DB_c_1aS.js.map +1 -0
- package/dist/super-editor/chunks/{toolbar-RwBmRK55.js → toolbar-DnmHgf0I.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-RwBmRK55.js.map → toolbar-DnmHgf0I.js.map} +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +7 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/chunks/editor-u6GeISqP.js.map +0 -1
|
@@ -12,9 +12,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
12
12
|
var _events, _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _commandService, _css, _Editor_instances, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, insertNewFileData_fn, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, createSchema_fn, generatePmData_fn, createView_fn, onCollaborationReady_fn, initComments_fn, initPagination_fn, dispatchTransaction_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, _FieldAnnotationView_instances, createAnnotation_fn;
|
|
13
13
|
import * as Y from "yjs";
|
|
14
14
|
import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement } from "yjs";
|
|
15
|
-
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, f as Schema$1, g as canSplit, l as liftTarget, h as canJoin, j as joinPoint, r as replaceStep$1, R as ReplaceAroundStep, o as objectIncludes, i as ReplaceStep, k as NodeRange, m as findWrapping, n as TrackDeleteMarkName, q as TrackInsertMarkName, v as v4, s as generateDocxRandomId, t as generateRandom32BitHex, u as TrackFormatMarkName, w as comments_module_events, x as AddMarkStep, y as RemoveMarkStep, z as twipsToLines, B as pixelsToTwips, C as SuperConverter, E as EditorState, G as toKebabCase, H as kebabCase, I as SelectionRange, J as Transform } from "./converter-
|
|
15
|
+
import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, f as Schema$1, g as canSplit, l as liftTarget, h as canJoin, j as joinPoint, r as replaceStep$1, R as ReplaceAroundStep, o as objectIncludes, i as ReplaceStep, k as NodeRange, m as findWrapping, n as TrackDeleteMarkName, q as TrackInsertMarkName, v as v4, s as generateDocxRandomId, t as generateRandom32BitHex, u as TrackFormatMarkName, w as comments_module_events, x as AddMarkStep, y as RemoveMarkStep, z as twipsToLines, B as pixelsToTwips, C as SuperConverter, E as EditorState, G as toKebabCase, H as kebabCase, I as SelectionRange, J as Transform } from "./converter-1et2Hxzg.js";
|
|
16
16
|
import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
|
|
17
|
-
import { D as DocxZipper } from "./docx-zipper-
|
|
17
|
+
import { D as DocxZipper } from "./docx-zipper-dtToaaMe.js";
|
|
18
18
|
function getMarksFromSelection(state) {
|
|
19
19
|
const { from: from2, to, empty: empty2 } = state.selection;
|
|
20
20
|
const marks = [];
|
|
@@ -11740,7 +11740,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
11740
11740
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
11741
11741
|
*/
|
|
11742
11742
|
processCollaborationMigrations() {
|
|
11743
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.7.
|
|
11743
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.7.6");
|
|
11744
11744
|
if (!this.options.ydoc) return;
|
|
11745
11745
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
11746
11746
|
let docVersion = metaMap.get("version");
|
|
@@ -11826,6 +11826,9 @@ init_fn = function(options) {
|
|
|
11826
11826
|
}, 0);
|
|
11827
11827
|
};
|
|
11828
11828
|
initRichText_fn = function(options) {
|
|
11829
|
+
if (!options.extensions || !options.extensions.length) {
|
|
11830
|
+
this.options.extensions = getRichTextExtensions();
|
|
11831
|
+
}
|
|
11829
11832
|
__privateMethod(this, _Editor_instances, createExtensionService_fn).call(this);
|
|
11830
11833
|
__privateMethod(this, _Editor_instances, createCommandService_fn).call(this);
|
|
11831
11834
|
__privateMethod(this, _Editor_instances, createSchema_fn).call(this);
|
|
@@ -22651,4 +22654,4 @@ export {
|
|
|
22651
22654
|
redoDepth as r,
|
|
22652
22655
|
undoDepth as u
|
|
22653
22656
|
};
|
|
22654
|
-
//# sourceMappingURL=editor-
|
|
22657
|
+
//# sourceMappingURL=editor-DB_c_1aS.js.map
|