rme 0.1.25 → 0.1.27
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.mjs +7 -7
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -19869,6 +19869,7 @@ TransformError.prototype.name = "TransformError";
|
|
|
19869
19869
|
|
|
19870
19870
|
// node_modules/prosemirror-inputrules/dist/index.js
|
|
19871
19871
|
var InputRule = class {
|
|
19872
|
+
// :: (RegExp, union<string, (state: EditorState, match: [string], start: number, end: number) → ?Transaction>)
|
|
19872
19873
|
/**
|
|
19873
19874
|
Create an input rule. The rule applies when the user typed
|
|
19874
19875
|
something and the text directly in front of the cursor matches
|
|
@@ -19891,7 +19892,6 @@ var InputRule = class {
|
|
|
19891
19892
|
this.handler = typeof handler == "string" ? stringHandler(handler) : handler;
|
|
19892
19893
|
this.undoable = options.undoable !== false;
|
|
19893
19894
|
this.inCode = options.inCode || false;
|
|
19894
|
-
this.inCodeMark = options.inCodeMark !== false;
|
|
19895
19895
|
}
|
|
19896
19896
|
};
|
|
19897
19897
|
function stringHandler(string) {
|
|
@@ -19910,12 +19910,12 @@ function stringHandler(string) {
|
|
|
19910
19910
|
return state.tr.insertText(insert, start, end);
|
|
19911
19911
|
};
|
|
19912
19912
|
}
|
|
19913
|
-
var emDash = new InputRule(/--$/, "\u2014"
|
|
19914
|
-
var ellipsis = new InputRule(/\.\.\.$/, "\u2026"
|
|
19915
|
-
var openDoubleQuote = new InputRule(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/, "\u201C"
|
|
19916
|
-
var closeDoubleQuote = new InputRule(/"$/, "\u201D"
|
|
19917
|
-
var openSingleQuote = new InputRule(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/, "\u2018"
|
|
19918
|
-
var closeSingleQuote = new InputRule(/'$/, "\u2019"
|
|
19913
|
+
var emDash = new InputRule(/--$/, "\u2014");
|
|
19914
|
+
var ellipsis = new InputRule(/\.\.\.$/, "\u2026");
|
|
19915
|
+
var openDoubleQuote = new InputRule(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/, "\u201C");
|
|
19916
|
+
var closeDoubleQuote = new InputRule(/"$/, "\u201D");
|
|
19917
|
+
var openSingleQuote = new InputRule(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/, "\u2018");
|
|
19918
|
+
var closeSingleQuote = new InputRule(/'$/, "\u2019");
|
|
19919
19919
|
|
|
19920
19920
|
// src/editor/extensions/List/input-rule/utils/parse-integer.ts
|
|
19921
19921
|
function parseInteger(attr) {
|