-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Inline widget bug in Firefox #6532
Comments
@jodator, can you take a look at it? |
Hi again. Can someone help with this please? I couldn't find a fix to "spacebar after formula" glitch on my own. |
Hi @ddmm-white it looks like your code is missing position mapping fixing. |
I updated my build and plugin, added position mapping fix and changed container element to span. But now if I enter any text after the widget, the widget turns into plain text. Also I noticed that if I create the same element (with only text inside, without UIElement) for both editingDowncast and dataDowncast converters then it starts working. But i can't do that for my custom plugin because I need UIElement for the editingDowncast converter. |
Could you explain more? To be honest the inline widget sample is currently the only use-case that we've tested. The In other words, there must be some So maybe you wish to accomplish something that |
I'm closing this due to lack of activity. |
Hi. There is a weird issue with plugins that use inline widget in Firefox. If I press Space bar right after or before an inline widget, the widget disappears. Also it's not possible to place the caret after an inline widget using mouse. You can only do that with Right arrow key. I've recorded some screencasts for you to see what I mean:
![recording2](https://user-images.githubusercontent.com/9927064/78211711-6d9b8500-74b6-11ea-9506-db0347a90a4b.gif)
Firefox:
Chrome:
![recording3](https://user-images.githubusercontent.com/9927064/78211780-a63b5e80-74b6-11ea-8503-fb3a0d6880ce.gif)
As you can see, in Firefox it has completely different behavior. In Chrome it works fine.
JSFiddle: https://jsfiddle.net/lastMorning/1yq09k5s
Sources of custom build with this plugin: https://github.com/ddmm-white/ckeditor5-build-classic
The text was updated successfully, but these errors were encountered: