Szymon Cofalik
|
836a8383e6
Tests: Change the name of helper function.
|
7 gadi atpakaļ |
Szymon Cofalik
|
ecb8049318
Changed: Make `Schema#getValidRanges` a generator.
|
7 gadi atpakaļ |
Szymon Cofalik
|
bb28db569a
Changed: Schema#getValidRanges now returns flat ranges, compatible with the new AttributeOperation.
|
7 gadi atpakaļ |
Szymon Cofalik
|
65ca18933d
Operational transformation refactor. Added new operations, transformations and changed other code connected with it. Added new tests.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
e2e9e87190
Tests: Prefer parse() method or direct params instead of mode.change() calls.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
515de09b42
Tests: Use parse() method from model dev utils.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
308018fc23
Tests: Restore previous `setSelection()` tests semantics using setData._parse().
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
959eec408d
Code style: Change the selection post-fixer internals for better readability.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
cab62a9648
Other: Update selection post-fixer to cover more cases.
|
7 gadi atpakaļ |
Piotrek Koszuliński
|
2356ee42e7
Made Schema.isLimit() return true for all objects too (an object is a limit). See https://github.com/ckeditor/ckeditor5-engine/pull/1431#issuecomment-397871919.
|
7 gadi atpakaļ |
Piotrek Koszuliński
|
355fc4aea3
Merge branch 'master' into t/ckeditor5-table/12
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
f9c07db70c
Other: Move selection post fixer to model/utils and inject it in model's constructor.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
1d0d0a6d54
Tests: Update tests to the newest list feature schema.
|
7 gadi atpakaļ |
Kamil Piechaczek
|
c63c55c6e9
Renamed "_*Children()" name of functions to "_*Child()".
|
7 gadi atpakaļ |
Kamil Piechaczek
|
bfd5f00dc2
Changed public API to protected.
|
7 gadi atpakaļ |
Kamil Piechaczek
|
47b49aa97d
Changed name of the test cases.
|
7 gadi atpakaļ |
Kamil Piechaczek
|
826aab8325
"Schema#getLimitElement()" will work with the multi-selection ranges if one of them has the root as the limit element.
|
7 gadi atpakaļ |
Oskar Wróbel
|
837750a5cd
Internal: Added node name as a SchemaContextDefinition member.
|
7 gadi atpakaļ |
Oskar Wróbel
|
caa5a10fec
Internal: Schema#findAllowedParent should not allow to split objects.
|
7 gadi atpakaļ |
Oskar Wróbel
|
e5aacff7d5
Changed SchemaContext#concat to SchemaContext#push.
|
7 gadi atpakaļ |
Oskar Wróbel
|
53b3200977
Removed SchemaContext from SchemaContext#concat params.
|
7 gadi atpakaļ |
Oskar Wróbel
|
998ac7c0c0
Changed SchemaContext#addItem to SchemaContext#concat.
|
7 gadi atpakaļ |
Oskar Wróbel
|
3074baefb0
Merge branch 'master' into t/1213
|
7 gadi atpakaļ |
Oskar Wróbel
|
b4008867ad
Removed limitElement from Schema#findAllowedParent().
|
7 gadi atpakaļ |
Oskar Wróbel
|
74a66eb6a1
Allowed SchemaContext as a context of SchemaContext.
|
7 gadi atpakaļ |
Maciej Bukowski
|
b5d95a34f3
Moved `Document#getNearesetSelectionRange` to `Schema#getNearesetSelectionRange`.
|
7 gadi atpakaļ |
Oskar Wróbel
|
9791c28fc6
Changed Schema#findAllowedParent() limitChecker to limitElement.
|
7 gadi atpakaļ |
Oskar Wróbel
|
278203bbde
Added Schema#findAllowedParent method.
|
7 gadi atpakaļ |
Oskar Wróbel
|
873d3f5f7e
Added `SchemaContext#addItem` method.
|
7 gadi atpakaļ |
Oskar Wróbel
|
d06b9f325e
Allowed SchemaContext as a checkChild and checkAttribute context.
|
7 gadi atpakaļ |