-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The changes are not limited to the text selection when using the inline CKEDITOR #5
Comments
I've also faced this bug. In inline mode the buttons do not respond properly and the entire paragraph gets transformed. |
Fixed the issue, here is an example one of the code snippets editor.addCommand('transformTextToUppercase', |
Thanks! it is working perfectly now. |
But if the selection contains some strong or background text, the style becomes "normal". You have to go thru the nodes using walker.next(). You just have to stop the transformation at the end of the selection (with "longueur")
|
@dlorin thank you, your modification to the function solves the issue! the plugin is now working perfectly for inline editor again. thanks |
Hey @dlorin, why don't you create a PR with this change? It looks good and validated already. |
When using the inline CKEDITOR and texttransform, the updates are not limited to the selected text, the entire paragraph appears to get changed.
The text was updated successfully, but these errors were encountered: