@formulaxjs/tiptap 0.2.0 → 0.2.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/index.global.js +14 -18
- package/dist/index.global.js.map +1 -1
- package/package.json +3 -3
package/dist/index.global.js
CHANGED
|
@@ -14249,7 +14249,7 @@ var FormulaX = (() => {
|
|
|
14249
14249
|
var start_GQH6XUBI_exports = {};
|
|
14250
14250
|
__export(start_GQH6XUBI_exports, {
|
|
14251
14251
|
Factory: () => factory_default,
|
|
14252
|
-
KFEditor: () =>
|
|
14252
|
+
KFEditor: () => editor_default,
|
|
14253
14253
|
default: () => start_default,
|
|
14254
14254
|
installKityEditorStart: () => installKityEditorStart
|
|
14255
14255
|
});
|
|
@@ -14960,23 +14960,23 @@ var FormulaX = (() => {
|
|
|
14960
14960
|
function installKityEditorStart(target = window) {
|
|
14961
14961
|
const runtimeTarget = target;
|
|
14962
14962
|
if (!installed3) {
|
|
14963
|
-
|
|
14964
|
-
|
|
14965
|
-
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
|
|
14969
|
-
|
|
14963
|
+
editor_default.registerComponents("ui", ui_default);
|
|
14964
|
+
editor_default.registerComponents("parser", parser_default);
|
|
14965
|
+
editor_default.registerComponents("render", render_default);
|
|
14966
|
+
editor_default.registerComponents("position", position_default);
|
|
14967
|
+
editor_default.registerComponents("syntax", syntax_default);
|
|
14968
|
+
editor_default.registerComponents("control", controller_default);
|
|
14969
|
+
editor_default.registerComponents("print", printer_default);
|
|
14970
14970
|
installed3 = true;
|
|
14971
14971
|
}
|
|
14972
14972
|
runtimeTarget.kf = runtimeTarget.kf ?? {};
|
|
14973
14973
|
runtimeTarget.kf.EditorFactory = factory_default;
|
|
14974
14974
|
return {
|
|
14975
|
-
KFEditor:
|
|
14975
|
+
KFEditor: editor_default,
|
|
14976
14976
|
Factory: factory_default
|
|
14977
14977
|
};
|
|
14978
14978
|
}
|
|
14979
|
-
var defaultOptions, components, kity, kf, KFEditor,
|
|
14979
|
+
var defaultOptions, components, kity, kf, KFEditor, editor_default, EditorWrapper, factory, factory_default, PREFIX, LIST_OFFSET, DEFAULT_OPTIONS2, $$, kity2, Button, button_default, PREFIX2, $$2, kity3, List, list_default, kity4, $$3, PREFIX3, BOX_TYPE, ITEM_TYPE, SCROLL_STEP, BoxItem, Box, box_default, PREFIX4, PANEL_HEIGHT, $$4, kity5, Area, area_default, PREFIX5, $$5, kity6, Delimiter, delimiter_default, $$6, kity7, DrapdownBox, dropdown_box_default, UiImpl, ui_impl_default, $$7, kity8, Toolbar, toolbar_default, SCROLLBAR_DEF, SCROLLBAR_CONF, CLASS_PREFIX, kity9, Scrollbar, scrollbar_default, UNICODE_SYMBOLS, STYLE_FONT_MAP, UI_ELE_TYPE, BOX_TYPE2, OTHER_POSITION, config, toolbar_config_default, $$8, VIEW_STATE, DEFAULT_EDIT_AREA_HEIGHT, kity10, UIComponent, ui_default, kity11, kf2, PlaceholderOperator, kf_ext_placeholder_operator_default, kity12, kf3, BaseCompoundExpression, PlaceholderExpression, kf_ext_placeholder_expression_default, kf4, kf_ext_extension_default, legacyVirtualGroupMap, vgroup_def_default, CURSOR_CHAR, ROOT_P_TEXT, COMBINATION_NAME, PID_PREFIX, pidSeed, kity13, kf5, BaseComponent, Parser, parser_default, DEFAULT_OPTIONS22, kity14, kf6, BaseComponent2, RenderComponent, render_default, kity15, PositionComponent, position_default, kity16, DeleteComponent, syntax_delete_default, kity17, MoveComponent, syntax_move_default, CURSOR_CHAR2, kity18, SyntaxComponent, syntax_default, KEY_CODE, kity19, InputComponent, input_default, kity20, LocationComponent, location_default, MAX_DISTANCE, kity21, SelectionComponent, selection_default, kity22, ListenerComponent, listener_default, kity23, ControllerComponent, controller_default, kity24, Printer, printer_default, installed3, start_default;
|
|
14980
14980
|
var init_start_GQH6XUBI = __esm({
|
|
14981
14981
|
"../kity-runtime/dist/start-GQH6XUBI.js"() {
|
|
14982
14982
|
"use strict";
|
|
@@ -15087,12 +15087,12 @@ var FormulaX = (() => {
|
|
|
15087
15087
|
components[name] = component;
|
|
15088
15088
|
}
|
|
15089
15089
|
});
|
|
15090
|
-
|
|
15090
|
+
editor_default = KFEditor;
|
|
15091
15091
|
EditorWrapper = class {
|
|
15092
15092
|
callbacks = [];
|
|
15093
15093
|
editor;
|
|
15094
15094
|
constructor(container, options) {
|
|
15095
|
-
this.editor = new
|
|
15095
|
+
this.editor = new editor_default(container, options);
|
|
15096
15096
|
this.editor.ready(() => {
|
|
15097
15097
|
this.trigger();
|
|
15098
15098
|
});
|
|
@@ -26799,11 +26799,9 @@ var FormulaX = (() => {
|
|
|
26799
26799
|
|
|
26800
26800
|
// ../kity-runtime/dist/index.js
|
|
26801
26801
|
init_chunk_EKIJQ64F();
|
|
26802
|
-
|
|
26803
|
-
// ../kity-assets/dist/index.js
|
|
26804
26802
|
var btn_default = "./btn-5DANP6JY.png";
|
|
26805
26803
|
var other_default = "./other-OMWJFGL5.png";
|
|
26806
|
-
var
|
|
26804
|
+
var editor_default2 = "./editor-JT5KLVXX.css?url";
|
|
26807
26805
|
var KF_AMS_BB_default = "./KF_AMS_BB-5QF7FUSO.woff";
|
|
26808
26806
|
var KF_AMS_CAL_default = "./KF_AMS_CAL-NXRNLAZN.woff";
|
|
26809
26807
|
var KF_AMS_FRAK_default = "./KF_AMS_FRAK-CO33WWN4.woff";
|
|
@@ -26821,15 +26819,13 @@ var FormulaX = (() => {
|
|
|
26821
26819
|
other: other_default
|
|
26822
26820
|
};
|
|
26823
26821
|
var kityStyleAssets = {
|
|
26824
|
-
editor:
|
|
26822
|
+
editor: editor_default2
|
|
26825
26823
|
};
|
|
26826
26824
|
var kityAssetManifest = {
|
|
26827
26825
|
fonts: kityFontAssets,
|
|
26828
26826
|
toolbar: kityToolbarAssets,
|
|
26829
26827
|
styles: kityStyleAssets
|
|
26830
26828
|
};
|
|
26831
|
-
|
|
26832
|
-
// ../kity-runtime/dist/index.js
|
|
26833
26829
|
var legacyCharPosition = {
|
|
26834
26830
|
"\\pm": {
|
|
26835
26831
|
"x": 5,
|