@ckeditor/ckeditor5-paste-from-office 47.7.1-alpha.0 → 47.7.2-alpha.0
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.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/filters/list.js +2 -2
- package/src/filters/space.d.ts +3 -1
- package/src/filters/space.js +3 -1
package/dist/index.js
CHANGED
|
@@ -309,7 +309,7 @@ function createTopLevelListInfo() {
|
|
|
309
309
|
// If the parent has previous sibling, which is not a list, then it is not a continuation.
|
|
310
310
|
return isList(parent) && (!parent.previousSibling || isList(parent.previousSibling));
|
|
311
311
|
}
|
|
312
|
-
// Even with the same id the list does not have to be continuous (
|
|
312
|
+
// Even with the same id the list does not have to be continuous (https://github.com/ckeditor/ckeditor5/issues/43).
|
|
313
313
|
return isList(previousSibling);
|
|
314
314
|
}
|
|
315
315
|
function isList(element) {
|
|
@@ -486,7 +486,7 @@ function isList(element) {
|
|
|
486
486
|
* where:
|
|
487
487
|
*
|
|
488
488
|
* ```
|
|
489
|
-
* * `l1` is a list id (however it does not mean this is a continuous list - see
|
|
489
|
+
* * `l1` is a list id (however it does not mean this is a continuous list - see https://github.com/ckeditor/ckeditor5/issues/43),
|
|
490
490
|
* * `level1` is a list item indentation level,
|
|
491
491
|
* * `lfo1` is a list insertion order in a document.
|
|
492
492
|
* ```
|
|
@@ -1430,7 +1430,9 @@ const googleSheetsMatch = /<google-sheets-html-origin/i;
|
|
|
1430
1430
|
* Replaces last space preceding elements closing tag with ` `. Such operation prevents spaces from being removed
|
|
1431
1431
|
* during further DOM/View processing (see especially {@link module:engine/view/domconverter~ViewDomConverter#_processDomInlineNodes}).
|
|
1432
1432
|
* This method also takes into account Word specific `<o:p></o:p>` empty tags.
|
|
1433
|
-
* Additionally multiline sequences of spaces and new lines between tags are removed (see
|
|
1433
|
+
* Additionally multiline sequences of spaces and new lines between tags are removed (see
|
|
1434
|
+
* https://github.com/ckeditor/ckeditor5-paste-from-office/issues/39
|
|
1435
|
+
* and https://github.com/ckeditor/ckeditor5-paste-from-office/issues/40).
|
|
1434
1436
|
*
|
|
1435
1437
|
* @param htmlString HTML string in which spacing should be normalized.
|
|
1436
1438
|
* @returns Input HTML with spaces normalized.
|