Kamil Piechaczek
|
97610a9999
Renamed `Selection#isEntireContentSelected()` to `Selection#containsEntireContent()`.
|
8 gadi atpakaļ |
Piotr Jasiun
|
32277ec729
Merge pull request #1075 from ckeditor/t/1074
|
8 gadi atpakaļ |
Maciej Bukowski
|
c0fcfb4df6
Renamed `setFocus` to moveFocusTo` in Selection.
|
8 gadi atpakaļ |
Maciej Bukowski
|
637a2ab009
Fixed `setIn`, `setOn` methods, added tests.
|
8 gadi atpakaļ |
Maciej Bukowski
|
8b67c0213c
Added tests.
|
8 gadi atpakaļ |
Maciej Bukowski
|
46ec581b8c
Renamed `Selection#collapse` to `Selection#setCollapsedAt`.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
5d1388aa7b
"Selection#isEntireContentSelected()" has a default value for parameter. Improved docs and tests.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
025de1d354
Introduced "Selection#isEntireContentSelected( element )".
|
8 gadi atpakaļ |
Kamil Piechaczek
|
f35cf1cf12
Upgraded tests to the latest Chai and Sinon version.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
993e0f73b7
Don't return the block in which selection ends if it ends at its beginning.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
8e68177ec1
Fixed issues reported by ESLint in "tests/" directory. "no-confusing-arrow" is also fixed in "src/" directory.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
540b4498df
Fixed issues reported by ESLint using the flag "--fix".
|
8 gadi atpakaļ |
Maciej Bukowski
|
f9347cce59
Moved createFromRanges method to the constructor optional parameters.
|
8 gadi atpakaļ |
Maciej Bukowski
|
205de3cde0
Added static method `createFromRanges` to model/selection.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
93d118c34f
Fixed issue when the method could return a root.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
6b3bbdcea1
Implemented Selection#getSelectedBlocks.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
8e8e210fc5
Tests: Order and naming fixes.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
d893eb58d9
Updated imports to use scoped packages.
|
9 gadi atpakaļ |
Piotrek Koszuliński
|
c904325be6
Bump up the year.
|
9 gadi atpakaļ |
Piotrek Koszuliński
|
1e6d9a8380
Updated tests – removed bender tags and CSS links.
|
9 gadi atpakaļ |
Piotrek Koszuliński
|
2a894e8be4
Use package-based paths to modules.
|
9 gadi atpakaļ |
Szymon Kupś
|
7af2fcfcdf
Added missing newline.
|
9 gadi atpakaļ |
Szymon Kupś
|
fef6fac697
Added getSelectedElement to model selection.
|
9 gadi atpakaļ |
Szymon Cofalik
|
8564bd1021
Tests: expanded tests for model/view.Selection to cover more cases.
|
9 gadi atpakaļ |
Szymon Cofalik
|
05580508f8
Tests: Additional tests for model.Selection and view.SelectionObserver.
|
9 gadi atpakaļ |
Piotrek Koszuliński
|
27efaedec3
Merge branch 'master' into t/629b
|
9 gadi atpakaļ |
Piotrek Koszuliński
|
c7aa0d31cc
Changed imports in automated tests to be compatible with Webpack.
|
9 gadi atpakaļ |
Szymon Cofalik
|
a03c46fa56
Tests: fixed failed tests and 100% CC.
|
9 gadi atpakaļ |
Szymon Cofalik
|
79419c538d
Tests: throwing errors when adding non-Ranges to Selection.
|
9 gadi atpakaļ |
Szymon Cofalik
|
54a9ce75e3
Tests: updated tests for Selection, LiveSelection and Document.
|
9 gadi atpakaļ |