@alitons/ckeditor5 0.0.21 → 0.0.22

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@alitons/ckeditor5",
3
3
  "author": "Aliton Silva",
4
4
  "description": "Ckeditor 5 Personalizado adicionados campos para atender as demandas da SEAD/AC",
5
- "version": "0.0.21",
5
+ "version": "0.0.22",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
7
7
  "private": false,
8
8
  "main": "./build/ckeditor.js",
@@ -166,7 +166,7 @@ export default class NumberedDivList extends Plugin {
166
166
 
167
167
  const numItem = writer.createElement('numItem');
168
168
  writer.insert( numItem, writer.createPositionAt( numList, 'end' ) );
169
- safeInsert( numList, !firstConversion || config?.forceList ? writer.createPositionAt(children ?? data.modelCursor.parent, 'end') : data.modelCursor );
169
+ safeInsert( numList, data.modelCursor );
170
170
  convertChildren( viewItem, numItem );
171
171
  updateConversionResult( numList, data );
172
172