@portabletext/editor 1.11.1 → 1.11.2
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/README.md +10 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/editor/behavior/behavior.action.insert-break.ts +3 -3
- package/src/editor/behavior/behavior.action.insert-span.ts +2 -2
- package/src/editor/behavior/behavior.actions.ts +4 -4
- package/src/editor/editor-machine.ts +5 -2
- package/src/editor/plugins/createWithEditableAPI.ts +5 -5
- package/src/editor/plugins/createWithPortableTextMarkModel.ts +4 -4
package/lib/index.mjs
CHANGED
|
@@ -5744,7 +5744,7 @@ const editorMachine = setup({
|
|
|
5744
5744
|
event: event.behaviorEvent
|
|
5745
5745
|
}, shouldRun));
|
|
5746
5746
|
for (const actionIntends of actionIntendSets)
|
|
5747
|
-
behaviorOverwritten = actionIntends.length > 0 && actionIntends.some((actionIntend) => actionIntend.type !== "effect"), enqueue.raise({
|
|
5747
|
+
behaviorOverwritten = behaviorOverwritten || actionIntends.length > 0 && actionIntends.some((actionIntend) => actionIntend.type !== "effect"), enqueue.raise({
|
|
5748
5748
|
type: "behavior action intends",
|
|
5749
5749
|
editor: event.editor,
|
|
5750
5750
|
actionIntends
|