Aleksander Nowodzinski
|
b02783e22f
Updated the Model#hasContent() method implementation to use Schema#isContent() instead of Schema#isObject().
|
vor 5 Jahren |
Aleksander Nowodzinski
|
1453b7fa77
Tests: Extended a model class test to verify that $text is registered as a content in the schema.
|
vor 5 Jahren |
Kuba Niegowski
|
ea4e36a0d4
Option to ignore markers in Model#hasContent().
|
vor 5 Jahren |
Szymon Cofalik
|
9f2afa3174
Feature: Introduced `Model#createOperationFromJSON` which is an alias for `OperationFactory#fromJSON`.
|
vor 5 Jahren |
Kamil Piechaczek
|
344ec71488
Internal: Bumped the year. [skip ci]
|
vor 6 Jahren |
Maciej Bukowski
|
eddaaaebe1
Rethrown original error in try-catch blocks when the `debug=true` mode is on.
|
vor 6 Jahren |
Maciej Bukowski
|
8025d041c9
Moved common error handling part to the `CKEditorError` class.
|
vor 6 Jahren |
Maciej Bukowski
|
8b8f969a42
Wrapped `model.change()` and `model.enqueueChange()` into try/catch blocks.
|
vor 6 Jahren |
Maciej Gołaszewski
|
3575b23f2b
Add tests for model.createBatch() type parameter.
|
vor 6 Jahren |
Kamil Piechaczek
|
35aba7b0d6
Internal: Updated the license header. See ckeditor/ckeditor5#1557. [skip ci]
|
vor 6 Jahren |
Szymon Cofalik
|
caba092b86
Internal: Removed `Model#event:_change`.
|
vor 6 Jahren |
Oskar Wróbel
|
2cd96cfdb9
Internal: Allowed $marker element in any parent element.
|
vor 6 Jahren |
Piotrek Koszuliński
|
19dac9db4d
A couple of minor improvements and refactoring.
|
vor 6 Jahren |
Krzysztof Krztoń
|
a5873909dc
Refactoring.
|
vor 6 Jahren |
Krzysztof Krztoń
|
2551370fd0
Tests: Removed unused deps.
|
vor 6 Jahren |
Krzysztof Krztoń
|
f9fa3a88b8
Tests: More tests added.
|
vor 6 Jahren |
Krzysztof Krztoń
|
3e6dc7bef8
Tests: Added `isEmpty()` unit tests.
|
vor 6 Jahren |
Kamil Piechaczek
|
c7953fd655
Internal: Bumped the year. [skip ci]
|
vor 6 Jahren |
Maciej Gołaszewski
|
35cd6e4fe7
Create stub tests for model Position/Writer/Selection factory methods.
|
vor 7 Jahren |
Maciej Gołaszewski
|
5f2f65a519
Changed: Make Range factory methods protected. Remove Range.createFromParentsAndOffsets().
|
vor 7 Jahren |
Maciej Gołaszewski
|
a4f4dee5d0
Internal: Remove default parameter from `model.insertContent()` calls.
|
vor 7 Jahren |
Maciej Gołaszewski
|
29cdfeaec2
Changed: The insertContent() should accept position & range.
|
vor 7 Jahren |
Szymon Cofalik
|
c1416effc9
Changed: Fixed code style.
|
vor 7 Jahren |
Szymon Cofalik
|
65ca18933d
Operational transformation refactor. Added new operations, transformations and changed other code connected with it. Added new tests.
|
vor 7 Jahren |
Maciej Bukowski
|
7284c797e0
Aligned code to changes in ModelSelection#setTo method.
|
vor 7 Jahren |
Oskar Wróbel
|
0c90591171
Fix: Registered `$marker` element as an allowed `$root` and `$block` child.
|
vor 7 Jahren |
Szymon Cofalik
|
c44336d58a
Changed: Operations no longer remove changes object on `_execute()`.
|
vor 8 Jahren |
Szymon Cofalik
|
31ebc75f26
Changed: Changed `model.Document#event:change` to be fired after change block is done and there were changes on `Document`.
|
vor 8 Jahren |
Piotrek Koszuliński
|
de22c255fc
Internal: Bumped the year. [skip ci]
|
vor 8 Jahren |
Piotrek Koszuliński
|
20e0c94b74
Added some missing tests and made small code simplications.
|
vor 8 Jahren |