@ones-editor/editor 2.2.15-beta.5 → 2.2.15-beta.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/index.js
CHANGED
|
@@ -59113,7 +59113,6 @@ $$${mathData.mathjaxText}$$
|
|
|
59113
59113
|
const op = createTextOp(emoji, null);
|
|
59114
59114
|
const text2 = [op];
|
|
59115
59115
|
editor.insertTextToBlock(block, 0, text2);
|
|
59116
|
-
editor.selection.selectBlock(block, 2);
|
|
59117
59116
|
closePopup();
|
|
59118
59117
|
} catch (error2) {
|
|
59119
59118
|
logger$1N.error(error2);
|
|
@@ -59154,7 +59153,6 @@ $$${mathData.mathjaxText}$$
|
|
|
59154
59153
|
}
|
|
59155
59154
|
const newText = replaceText(editor.getBlockText(block), start, end, emoji);
|
|
59156
59155
|
editor.setBlockText(block, newText);
|
|
59157
|
-
editor.selection.selectBlock(block, start + 1);
|
|
59158
59156
|
closePopup();
|
|
59159
59157
|
} catch (error2) {
|
|
59160
59158
|
logger$1N.error(error2);
|
|
@@ -88693,7 +88691,7 @@ ${data2.flowchartText}
|
|
|
88693
88691
|
}
|
|
88694
88692
|
}
|
|
88695
88693
|
});
|
|
88696
|
-
editor.version = "2.2.15-beta.
|
|
88694
|
+
editor.version = "2.2.15-beta.6";
|
|
88697
88695
|
return editor;
|
|
88698
88696
|
}
|
|
88699
88697
|
function isDoc(doc2) {
|
|
@@ -88788,7 +88786,7 @@ ${data2.flowchartText}
|
|
|
88788
88786
|
});
|
|
88789
88787
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
88790
88788
|
OnesEditorToolbar.register(editor);
|
|
88791
|
-
editor.version = "2.2.15-beta.
|
|
88789
|
+
editor.version = "2.2.15-beta.6";
|
|
88792
88790
|
return editor;
|
|
88793
88791
|
}
|
|
88794
88792
|
async function showDocVersions(editor, options, serverUrl) {
|