Kamil Piechaczek
|
a3e61622f1
Swapped the order of parameters in "Schema#findAllowedParent()".
|
6 年之前 |
Piotrek Koszuliński
|
d5f716eaf4
Docs: Documented possible way of using this method.
|
6 年之前 |
Maciej Gołaszewski
|
1085d8107e
Add tests for schema.createContext().
|
7 年之前 |
Maciej Gołaszewski
|
fa1bea6a29
Update model/view selection docs and tests.
|
7 年之前 |
Maciej Gołaszewski
|
4d500ac4d4
Changed: Make factory methods of model Position protected.
|
7 年之前 |
Maciej Gołaszewski
|
90d2a88bf7
Make Position.createAt() offset parameter required.
|
7 年之前 |
Piotrek Koszuliński
|
38699efc8c
Cleaned up the tests. Removed confusing boundary cases with setData() and added explicit test for setting selection's attrs. Cleared schema rules.
|
7 年之前 |
Kamil Piechaczek
|
3938f6df4e
Add one more test which checks attributes that are set manually.
|
7 年之前 |
Kamil Piechaczek
|
5da55c3c0e
We should check selection attribues instead of text attrs.
|
7 年之前 |
Kamil Piechaczek
|
c2a00d9f9c
Schema#schema.checkAttributeInSelection() checks attributes of a text node.
|
7 年之前 |
Szymon Cofalik
|
836a8383e6
Tests: Change the name of helper function.
|
7 年之前 |
Szymon Cofalik
|
ecb8049318
Changed: Make `Schema#getValidRanges` a generator.
|
7 年之前 |
Szymon Cofalik
|
bb28db569a
Changed: Schema#getValidRanges now returns flat ranges, compatible with the new AttributeOperation.
|
7 年之前 |
Szymon Cofalik
|
65ca18933d
Operational transformation refactor. Added new operations, transformations and changed other code connected with it. Added new tests.
|
7 年之前 |
Maciej Gołaszewski
|
e2e9e87190
Tests: Prefer parse() method or direct params instead of mode.change() calls.
|
7 年之前 |
Maciej Gołaszewski
|
515de09b42
Tests: Use parse() method from model dev utils.
|
7 年之前 |
Maciej Gołaszewski
|
308018fc23
Tests: Restore previous `setSelection()` tests semantics using setData._parse().
|
7 年之前 |
Maciej Gołaszewski
|
959eec408d
Code style: Change the selection post-fixer internals for better readability.
|
7 年之前 |
Maciej Gołaszewski
|
cab62a9648
Other: Update selection post-fixer to cover more cases.
|
7 年之前 |
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 年之前 |
Piotrek Koszuliński
|
355fc4aea3
Merge branch 'master' into t/ckeditor5-table/12
|
7 年之前 |
Maciej Gołaszewski
|
f9c07db70c
Other: Move selection post fixer to model/utils and inject it in model's constructor.
|
7 年之前 |
Maciej Gołaszewski
|
1d0d0a6d54
Tests: Update tests to the newest list feature schema.
|
7 年之前 |
Kamil Piechaczek
|
c63c55c6e9
Renamed "_*Children()" name of functions to "_*Child()".
|
7 年之前 |
Kamil Piechaczek
|
bfd5f00dc2
Changed public API to protected.
|
7 年之前 |
Kamil Piechaczek
|
47b49aa97d
Changed name of the test cases.
|
7 年之前 |
Kamil Piechaczek
|
826aab8325
"Schema#getLimitElement()" will work with the multi-selection ranges if one of them has the root as the limit element.
|
7 年之前 |
Oskar Wróbel
|
837750a5cd
Internal: Added node name as a SchemaContextDefinition member.
|
7 年之前 |
Oskar Wróbel
|
caa5a10fec
Internal: Schema#findAllowedParent should not allow to split objects.
|
7 年之前 |
Oskar Wróbel
|
e5aacff7d5
Changed SchemaContext#concat to SchemaContext#push.
|
7 年之前 |