-
Notifications
You must be signed in to change notification settings - Fork 7
I/6020: Run only one instance of the TextWatcher for all text transformations #223
Conversation
This commit also changes the TextTransformation's API adding: - #configuredTransformations - #_normalizedConfiguredTransformations - #_setNormalizedTransformations()
…the event data object
|
Adding API is not breaking anything. Those are new things which no one used so far, so it couldn't break anything. |
tests/manual/texttransformation.md
Outdated
* Change selection - the not transformed elements should stay. | ||
* Change selection - the not transformed elements should stay. | ||
|
||
### Behaviour inside the code blocks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do those changes come from? The ticket is about not creating multuple instances of text watcher. I thought we resolved the code block issue previously.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I should have added this before... I will update the test in another PR (or maybe this can be added on master
directly?).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As commented. Better to keep those changes local and minimal.
Done 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found one issue (my initial proposal was a bit incorrect). Plus, I realised that there are no tests here. How do we know that the issue was resolved and prevent from it happening in the future?
We also miss tests for the new |
Ready for re-review 🙈 |
I added ref docs for |
TODO:
|
Ready for re-review. |
Suggested merge commit message (convention)
Other: Run only one instance of the
TextWatcher
for all text transformations. Closes ckeditor/ckeditor5#6020.