@ones-editor/editor 2.8.42 → 2.8.44
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/index.js
CHANGED
|
@@ -25034,6 +25034,7 @@ var __publicField = (obj, key, value) => {
|
|
|
25034
25034
|
const boxId = genId();
|
|
25035
25035
|
info == null ? void 0 : info.boxIdMap.set(op.attributes.id, boxId);
|
|
25036
25036
|
op.attributes.id = boxId;
|
|
25037
|
+
op.attributes.created = Date.now();
|
|
25037
25038
|
}
|
|
25038
25039
|
});
|
|
25039
25040
|
return {
|
|
@@ -91897,7 +91898,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
91897
91898
|
return void 0;
|
|
91898
91899
|
}
|
|
91899
91900
|
function inlineStyleFontFamily(text2) {
|
|
91900
|
-
return
|
|
91901
|
+
return void 0;
|
|
91901
91902
|
}
|
|
91902
91903
|
function inlineStyleBackgroundColor(text2) {
|
|
91903
91904
|
const color = attributesOfText(text2, "inline-style-background-color");
|
|
@@ -91924,7 +91925,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
91924
91925
|
subScript: !!attributesOfText(text2, "style-sub"),
|
|
91925
91926
|
math: attributesOfText(text2, "type") === "math" ? attributesOfText(text2, "src") : void 0,
|
|
91926
91927
|
mention: isMention,
|
|
91927
|
-
fontFamily: inlineStyleFontFamily(
|
|
91928
|
+
fontFamily: inlineStyleFontFamily(),
|
|
91928
91929
|
background: inlineStyleBackgroundColor(text2),
|
|
91929
91930
|
color: isMention ? "338fe5" : styleColorToColor(attributeOfStyleColor(text2, "style-color-", 6)) || inlineStyleColor(text2),
|
|
91930
91931
|
highlight: attributeOfStyleColor(text2, "style-bg-color-", 13)
|
|
@@ -93930,7 +93931,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
93930
93931
|
}
|
|
93931
93932
|
}
|
|
93932
93933
|
});
|
|
93933
|
-
editor.version = "2.8.
|
|
93934
|
+
editor.version = "2.8.44";
|
|
93934
93935
|
return editor;
|
|
93935
93936
|
}
|
|
93936
93937
|
function isDoc(doc2) {
|
|
@@ -94043,7 +94044,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
94043
94044
|
}
|
|
94044
94045
|
});
|
|
94045
94046
|
OnesEditorToolbar.register(editor);
|
|
94046
|
-
editor.version = "2.8.
|
|
94047
|
+
editor.version = "2.8.44";
|
|
94047
94048
|
return editor;
|
|
94048
94049
|
}
|
|
94049
94050
|
async function showDocVersions(editor, options, serverUrl) {
|