@bigbinary/neeto-editor 1.45.28 → 1.45.29
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/Editor.js +10 -3
- package/dist/Editor.js.map +1 -1
- package/dist/cjs/Editor.cjs.js +10 -3
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/editor-stats.html +1 -19
- package/package.json +1 -1
package/dist/Editor.js
CHANGED
|
@@ -5249,7 +5249,7 @@ const underscorePasteRegex = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g;
|
|
|
5249
5249
|
* This extension allows you to create italic text.
|
|
5250
5250
|
* @see https://www.tiptap.dev/api/marks/italic
|
|
5251
5251
|
*/
|
|
5252
|
-
const Italic = Mark.create({
|
|
5252
|
+
const Italic$1 = Mark.create({
|
|
5253
5253
|
name: 'italic',
|
|
5254
5254
|
addOptions() {
|
|
5255
5255
|
return {
|
|
@@ -5690,7 +5690,7 @@ const StarterKit = Extension.create({
|
|
|
5690
5690
|
extensions.push(HorizontalRule.configure((_m = this.options) === null || _m === void 0 ? void 0 : _m.horizontalRule));
|
|
5691
5691
|
}
|
|
5692
5692
|
if (this.options.italic !== false) {
|
|
5693
|
-
extensions.push(Italic.configure((_o = this.options) === null || _o === void 0 ? void 0 : _o.italic));
|
|
5693
|
+
extensions.push(Italic$1.configure((_o = this.options) === null || _o === void 0 ? void 0 : _o.italic));
|
|
5694
5694
|
}
|
|
5695
5695
|
if (this.options.listItem !== false) {
|
|
5696
5696
|
extensions.push(ListItem$1.configure((_p = this.options) === null || _p === void 0 ? void 0 : _p.listItem));
|
|
@@ -10992,6 +10992,12 @@ var FigCaption = Node.create({
|
|
|
10992
10992
|
}
|
|
10993
10993
|
});
|
|
10994
10994
|
|
|
10995
|
+
var Italic = Italic$1.extend({
|
|
10996
|
+
addInputRules: function addInputRules() {
|
|
10997
|
+
return [];
|
|
10998
|
+
}
|
|
10999
|
+
});
|
|
11000
|
+
|
|
10995
11001
|
function ownKeys$9(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10996
11002
|
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10997
11003
|
var KeyboardShortcuts = function KeyboardShortcuts(_ref) {
|
|
@@ -19403,11 +19409,12 @@ var useCustomExtensions = function useCustomExtensions(_ref) {
|
|
|
19403
19409
|
bulletList: false,
|
|
19404
19410
|
blockquote: options.includes(EDITOR_OPTIONS.BLOCKQUOTE),
|
|
19405
19411
|
orderedList: options.includes(EDITOR_OPTIONS.LIST_ORDERED),
|
|
19412
|
+
italic: false,
|
|
19406
19413
|
history: !collaborationProvider,
|
|
19407
19414
|
heading: {
|
|
19408
19415
|
levels: buildLevelsFromOptions(options)
|
|
19409
19416
|
}
|
|
19410
|
-
}), TextStyle$2, Underline, KeyboardShortcuts$1.configure({
|
|
19417
|
+
}), TextStyle$2, Underline, Italic, KeyboardShortcuts$1.configure({
|
|
19411
19418
|
onSubmit: onSubmit,
|
|
19412
19419
|
shortcuts: keyboardShortcuts,
|
|
19413
19420
|
isBlockQuoteActive: options.includes(EDITOR_OPTIONS.BLOCKQUOTE)
|