Piotrek Koszuliński
|
48903ca273
Merge pull request #1166 from ckeditor/t/1158
|
8 years ago |
Kamil Piechaczek
|
95c96e839e
Removed "renderer-skipped-selection-rendering" warning.
|
8 years ago |
Szymon Kupś
|
5a49ad9dbe
Small refactoring, docs fixes.
|
8 years ago |
Szymon Kupś
|
bb1353af3c
Added test checking if inline filler is not rendered inside non editable content.
|
8 years ago |
Szymon Kupś
|
4f2128f257
Blocking inline fillers on elements with contenteditable=false.
|
8 years ago |
Szymon Cofalik
|
53170244d4
Changed: In `view.Renderer` moved logging warn about selection render skip to `_domSelectionNeedsUpdate`.
|
8 years ago |
Szymon Cofalik
|
2a87110f75
Changed: In `view.Renderer` moved algorithm checking whether DOM selection needs to be updated to a separate function.
|
8 years ago |
Szymon Cofalik
|
8ac4dc6fd2
Changed: Used `view.Selection#isSimilar` in `SelectionObserver` and `Renderer`.
|
8 years ago |
Szymon Cofalik
|
970908b413
Changed: renamed `DomConverter.isCorrectDomSelection(Position)` to `DomConverter.isDomSelection(Position)Correct`.
|
8 years ago |
Szymon Cofalik
|
de2d1ef70b
Fixed: Prevent DOM Selection from ending up in ui elements.
|
8 years ago |
Piotrek Koszuliński
|
28ee2dbbb2
Internal: Docs and code style.
|
8 years ago |
Szymon Cofalik
|
2354d31dd7
Fixed: In `view.Renderer#render` make sure that inline filler is created before selection is updated (so selection do not end up before filler element).
|
8 years ago |
Szymon Cofalik
|
10efae7d56
Fixed: `view.Renderer#render` will now always create inline filler at expected position.
|
8 years ago |
Szymon Kupś
|
3952737541
DomConverter changes: removed getCorrespondingView, merged getCorrespondingViewElement and getCorrespondingViewDocumentFragment into mapDomToView, renamed getCorrespondingViewText to findCorrespondingViewText.
|
8 years ago |
Szymon Kupś
|
e244e7c4f9
Minor fixes: more comments to Renderer#_updateChildren and newline in DomConverter.
|
8 years ago |
Szymon Kupś
|
a3976f2053
Updated docs after changes made in DomConverter.
|
8 years ago |
Szymon Kupś
|
e329ff7a3d
Updated tests in view after changes in DomConverter.
|
8 years ago |
Szymon Kupś
|
817023490f
Renderer's _updateChildren unbinds unused DOM nodes after all actions are performed.
|
8 years ago |
Szymon Kupś
|
1b713c2703
Added tests checking renderer issue #922.
|
8 years ago |
Kamil Piechaczek
|
e0212e36d5
Fixed issues reported by ESLint in "src/" directory.
|
8 years ago |
Kamil Piechaczek
|
540b4498df
Fixed issues reported by ESLint using the flag "--fix".
|
8 years ago |
Piotrek Koszuliński
|
ff871f9271
Stopped using some native features which MS Edge doesn't support yet.
|
8 years ago |
Szymon Cofalik
|
cd6725f58c
Changed: deep unbinding is now default (and only) behaviour of `view.DomConverter.unbindDomElement`.
|
8 years ago |
Szymon Cofalik
|
5a4a1315bb
Changed: view.Renderer will unbind DOM elements deeply when they are removed from DOM.
|
8 years ago |
Krzysztof Krztoń
|
e27ae09eb1
Refactoring.
|
8 years ago |
Krzysztof Krztoń
|
00225497b9
Log info about similar selection.
|
8 years ago |
Krzysztof Krztoń
|
fe62918789
Moved similar selection checking to renderer.
|
8 years ago |
Krzysztof Krztoń
|
2eb598f224
Do not rerender selection if it is consider similar to the previous one.
|
8 years ago |
Szymon Cofalik
|
9e110053ea
Changed: `Renderer` will unbind DOM elements from view elements when removing them from DOM.
|
8 years ago |
Szymon Cofalik
|
df328982e2
Add: Introduced `is()` method for engine view.
|
8 years ago |