@tiptap/extension-placeholder 3.30.2 → 3.30.4
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.cjs +14 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -8
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1,34 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var index_exports = {};
|
|
22
|
-
__export(index_exports, {
|
|
23
|
-
Placeholder: () => import_extensions2.Placeholder,
|
|
24
|
-
default: () => index_default
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
25
4
|
});
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
5
|
+
let _tiptap_extensions = require("@tiptap/extensions");
|
|
6
|
+
//#region src/index.ts
|
|
7
|
+
var src_default = _tiptap_extensions.Placeholder;
|
|
8
|
+
//#endregion
|
|
9
|
+
Object.defineProperty(exports, "Placeholder", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function() {
|
|
12
|
+
return _tiptap_extensions.Placeholder;
|
|
13
|
+
}
|
|
33
14
|
});
|
|
15
|
+
exports.default = src_default;
|
|
16
|
+
|
|
34
17
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["Placeholder"],"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":";;;;;;AAKA,IAAA,cAAeA,mBAAAA"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Placeholder } from
|
|
2
|
-
export { Placeholder, PlaceholderOptions, Placeholder as default }
|
|
1
|
+
import { Placeholder, Placeholder as Placeholder$1, PlaceholderOptions } from "@tiptap/extensions";
|
|
2
|
+
export { Placeholder, type PlaceholderOptions, Placeholder$1 as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Placeholder } from
|
|
2
|
-
export { Placeholder, PlaceholderOptions, Placeholder as default }
|
|
1
|
+
import { Placeholder, Placeholder as Placeholder$1, PlaceholderOptions } from "@tiptap/extensions";
|
|
2
|
+
export { Placeholder, type PlaceholderOptions, Placeholder$1 as default };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
index_default as default
|
|
8
|
-
};
|
|
1
|
+
import { Placeholder, Placeholder as Placeholder$1 } from "@tiptap/extensions";
|
|
2
|
+
//#region src/index.ts
|
|
3
|
+
var src_default = Placeholder$1;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { Placeholder, src_default as default };
|
|
6
|
+
|
|
9
7
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":["Placeholder"],"sources":["../src/index.ts"],"sourcesContent":["import { Placeholder } from '@tiptap/extensions'\n\nexport type { PlaceholderOptions } from '@tiptap/extensions'\nexport { Placeholder } from '@tiptap/extensions'\n\nexport default Placeholder\n"],"mappings":";;AAKA,IAAA,cAAeA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-placeholder",
|
|
3
|
-
"version": "3.30.
|
|
3
|
+
"version": "3.30.4",
|
|
4
4
|
"description": "placeholder extension for tiptap",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tiptap",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@tiptap/extensions": "^3.30.
|
|
42
|
+
"@tiptap/extensions": "^3.30.4"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@tiptap/extensions": "3.30.
|
|
45
|
+
"@tiptap/extensions": "3.30.4"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "
|
|
48
|
+
"build": "vp pack"
|
|
49
49
|
}
|
|
50
50
|
}
|