@ckeditor/ckeditor5-html-support 44.3.0-alpha.0 → 44.3.0-alpha.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 +1 -0
- package/ckeditor5-metadata.json +6 -0
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/emptyblock.d.ts +2 -4
- package/src/emptyblock.js +2 -4
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ Check out the demo in the [General HTML Support feature guide](https://ckeditor.
|
|
|
26
26
|
## Documentation
|
|
27
27
|
|
|
28
28
|
See the [`@ckeditor/ckeditor5-html-support` package](https://ckeditor.com/docs/ckeditor5/latest/api/html-support.html) page as well as the [General HTML Support feature](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html) guide in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
|
|
29
|
+
|
|
29
30
|
## License
|
|
30
31
|
|
|
31
32
|
Licensed under a dual-license model, this software is available under:
|
package/ckeditor5-metadata.json
CHANGED
|
@@ -37,6 +37,12 @@
|
|
|
37
37
|
"description": "Holds representation of the extended HTML document type definitions. Part of General HTML Support feature.",
|
|
38
38
|
"path": "src/dataschema.js"
|
|
39
39
|
},
|
|
40
|
+
{
|
|
41
|
+
"name": "Empty block",
|
|
42
|
+
"className": "EmptyBlock",
|
|
43
|
+
"description": "Allows for preserving empty block elements in the editor content instead of automatically filling them with block fillers (` `).",
|
|
44
|
+
"path": "src/emptyblock.js"
|
|
45
|
+
},
|
|
40
46
|
{
|
|
41
47
|
"name": "HTML comment",
|
|
42
48
|
"className": "HtmlComment",
|
package/dist/index.js
CHANGED
|
@@ -4126,8 +4126,8 @@ function modelToViewMediaAttributeConverter(mediaElementName) {
|
|
|
4126
4126
|
|
|
4127
4127
|
const EMPTY_BLOCK_MODEL_ATTRIBUTE = 'htmlEmptyBlock';
|
|
4128
4128
|
/**
|
|
4129
|
-
* This
|
|
4130
|
-
*
|
|
4129
|
+
* This plugin allows for preserving empty block elements in the editor content
|
|
4130
|
+
* instead of automatically filling them with block fillers (` `).
|
|
4131
4131
|
*
|
|
4132
4132
|
* This is useful when you want to:
|
|
4133
4133
|
*
|
|
@@ -4155,8 +4155,6 @@ const EMPTY_BLOCK_MODEL_ATTRIBUTE = 'htmlEmptyBlock';
|
|
|
4155
4155
|
* <p class="spacer"> </p>
|
|
4156
4156
|
* <td> </td>
|
|
4157
4157
|
* ```
|
|
4158
|
-
*
|
|
4159
|
-
* **Warning**: This is an experimental plugin. It may have bugs and breaking changes may be introduced without prior notice.
|
|
4160
4158
|
*/ class EmptyBlock extends Plugin {
|
|
4161
4159
|
/**
|
|
4162
4160
|
* @inheritDoc
|