@lblod/ember-rdfa-editor-lblod-plugins 37.2.0 → 37.2.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @lblod/ember-rdfa-editor-lblod-plugins
|
|
2
2
|
|
|
3
|
+
## 37.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#663](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/663) [`4938095`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/49380955ce5c33beac6013cea02a684558aa0701) Thanks [@lagartoverde](https://github.com/lagartoverde)! - Use parse slice to not include unneeded paragraphs on the inline locked placeholders parse
|
|
8
|
+
|
|
3
9
|
## 37.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -67,7 +67,7 @@ function replacePlaceholderWithHtml(
|
|
|
67
67
|
) {
|
|
68
68
|
return (state: EditorState) => {
|
|
69
69
|
const domParser = new DOMParser();
|
|
70
|
-
const contentFragment = ProseParser.fromSchema(state.schema).
|
|
70
|
+
const contentFragment = ProseParser.fromSchema(state.schema).parseSlice(
|
|
71
71
|
domParser.parseFromString(value, 'text/html'),
|
|
72
72
|
).content;
|
|
73
73
|
const tr = state.tr;
|