@cgboiler/biz-basic 1.0.19 → 1.0.20
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/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
|
2
2
|
import "./_atomic.css";
|
|
3
|
-
import { defineComponent, onMounted, onBeforeUnmount, ref, watch } from "vue";
|
|
3
|
+
import { defineComponent, onMounted, onBeforeUnmount, ref, watch, nextTick } from "vue";
|
|
4
4
|
import { Editor, EditorContent } from "@tiptap/vue-3";
|
|
5
5
|
import { useExtensions } from "./useExtensions";
|
|
6
6
|
import { richTextEditorProps } from "./types";
|
|
7
7
|
import "./index.css";
|
|
8
|
-
import { nextTick } from "process";
|
|
9
8
|
var stdin_default = defineComponent({
|
|
10
9
|
name: "RichTextEditor",
|
|
11
10
|
props: richTextEditorProps,
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -36,7 +36,7 @@ __export(stdin_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(stdin_exports);
|
|
37
37
|
var import_rich_text_editor = __toESM(require("./rich-text-editor"));
|
|
38
38
|
__reExport(stdin_exports, require("./rich-text-editor"), module.exports);
|
|
39
|
-
const version = "1.0.
|
|
39
|
+
const version = "1.0.19";
|
|
40
40
|
function install(app) {
|
|
41
41
|
const components = [
|
|
42
42
|
import_rich_text_editor.default
|
|
@@ -27,7 +27,6 @@ var import_vue_3 = require("@tiptap/vue-3");
|
|
|
27
27
|
var import_useExtensions = require("./useExtensions");
|
|
28
28
|
var import_types = require("./types");
|
|
29
29
|
var import_index = require("./index.css");
|
|
30
|
-
var import_process = require("process");
|
|
31
30
|
var stdin_default = (0, import_vue2.defineComponent)({
|
|
32
31
|
name: "RichTextEditor",
|
|
33
32
|
props: import_types.richTextEditorProps,
|
|
@@ -50,7 +49,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
50
49
|
editor: editor2
|
|
51
50
|
}) => {
|
|
52
51
|
if (props.editable === false) {
|
|
53
|
-
(0,
|
|
52
|
+
(0, import_vue2.nextTick)(() => {
|
|
54
53
|
var _a, _b, _c;
|
|
55
54
|
(_c = (_b = (_a = editor2 == null ? void 0 : editor2.options) == null ? void 0 : _a.element) == null ? void 0 : _b.querySelector(".tiptap")) == null ? void 0 : _c.setAttribute("contenteditable", "false");
|
|
56
55
|
});
|