-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix pasting (paste/paste plain text/paste from word) experience for mobile browsers #595
Comments
Would also like to see this available, as right now we have to retrain 1000s of people on this behavior, or revert CKEditor |
Same here! I am surprised that not many people complaining. We use "Past from Word" everyday and now we lost this valuable tool. Please resolve! Pretty please! :) |
Thanks for the feedback, we'll take a look at it on mobile. We need to see what can be done to make current behavior work on mobile. We certainly don't want to fallback to the old dialog in CKEditor as it was cumbersome in terms of UX. At the same time we still the current solution is not the best, as normally one would like to be able to paste just by clicking toolbar button - but browsers doesn't allow us to do this that way (due to security concerns). Anyway, as a part of this ticket we'll do a research on how we can improve it for mobile environments. |
It would be nice at minimum to allow the old plugin to be installed until this issue is resolved. |
I have tons of complains from my clients , the only option is to downgrade to older CKE. You really ruined an important part of CKE, please restore it! |
I cannot downgrade Ckeditor in Drupal core. Please restore this functionality. |
I hope this is restored soon. I can't downgrade Ckeditor in Drupal core either and this tool was essential to many of my clients. |
My clients are complaining about this too. |
Finally people started noticing it :) Everybody liked the way it worked with a popup and got used to it for years. A new functionality looks like reinventing a bicycle :) |
People, who wished to use shortcuts, still could do that and hide paste buttons from toolbar. |
I found another issue. It seems that its cause are newer browsers and as it is stated in the issue below, CKEDITOR cannot do anything about it (or doesn't want to) :( |
Both Paste-From-Word and Paste-as-Plain-Text work in ver. 4.6. If they can work in 4.6 in all my browsers, then lack of this functionality in 4.7 is a bug... or whatever the word would be for "intentional defect." I get that there are tradeoffs, but I literally do not have time to use CKeditor w/o the Paste From Word feature. |
I've just had a client complain about this not working. The trouble now is when they paste from word it doesn't strip all unnecessary tags. |
@kovtunos and others. If you are using drupal, update core to fix this issue. The ckeditor library has been downgraded to version 4.7.2 in core a few days ago. |
Unfortunately we need to move this issue to 4.9.0. Based on your feedback this issue is a high priority for us, and we need to be sure to make it right. With 4.8.0 release, the time frame for such a risky change was just too short. @Comandeer has already prepared an initial fix, though it still needs some polishing (#1229). We'll keep this issue updated, and we'll provide with a link to nightly builds as soon as we have it there, so you can provide your early feedback before the actual release. |
@mlewand Thanks for the info. I'm using 4.8 and using the removePlugins option to disable contextmenu. Fortunately we don't need anything it is used for. Hope this helps others. |
@pau1phi11ips happy it works for you. In case if context menu is not mandatory, I believe that using native context menu (and removing paste buttons) is the best way to handle it on mobile 👍 Meanwhile we continue to work on bringing the possibility to enable old dialog for users that want it. As you can see another PR just landed, we'll keep the issue updated as the PRs get reviewed and we can share the results. Ofc people wanting to put their hands on hot stuff can already view PR branches right now - after all that's the beauty of open source 😉 |
If it helps, to disable contextmenu (as @pau1phi11ips mentioned) on the latest version: |
Is this pasting issue still set to be included in the 4.9.0 version (due 13th february)? And do you have any idea when it'll be a part of the Drupal module? |
@luciomartinez That is a great solution! Worked for us! All plugins keep working, including the more demanding ones such as Codesnippet. Thanks ! Martin @ codeconuts.nl |
Just to provide an update to all subscribed to the issue: tl;dr
MeaningfulWe're back to reviewing the solutions proposed in #1355 and #1229 so that they can get into the upcoming 4.9.0 release. We have launched CKEditor 4 previews, a service that allows you to preview CKEditor on our feature development branches without a need to install it (actually the main goal why we creates such preview system is this ticket and upcoming Easy Image plugin). With that you could have a peek at and test the solution before it's released. You can preview solution on http://ckeditor4-preview.ckeditor.com/t/595-1347/samples/index.html at any time, it's updated automatically. Feel free to share your feedback. We'll keep this issue updated. |
Mobile pasting landed on the https://ckeditor4-preview.ckeditor.com/major/plugins/easyimage/samples/easyimage.html So crowd favorite paste dialog is back in town. Note that at the time of writing lang entries other than We could say that the crowd favorite paste dialog is back in town. Thanks for all the feedback. |
@mlewand |
On desktop browsers (Chrome/Firefox) I'm getting: Works like a charm on CKEditor 4.2 release. |
getting this issue in 4.9.2 |
I also don't see promised modal paste window in 4.9.2 |
@stalker780 @anacolautti this issue is for mobile environment only, as it was not possible to paste at all (with default IMEs). Pasting on a desktop is a separate issue. |
Thanks Anton |
Now its mid september .... this bug exists for more than one year ... when can we expect a solution? |
I'm afraid we should look other solutions, unfortunately :( |
RAFAEL: Are you writing as user oder ckeditor-developer? PasteFromWord is an elemantary feature! |
I'm sorry, I'm writing as user that needs "Paste Without Format" (CTRL+SHIFT+V) basic feature. I don't need to preserve formats, but linefeeds and tables structures, so I think PasteFromWord plugin will not solve this requirement for me :( |
After reading thru this issue, it seems the old paste dialog was brought back, but only for mobile. Is there currently a solution to make it available for larger desktop displays as well? |
Ok I actually misunderstood. It turns out the functionality still works. When you have text from word in your clipboard, and you press the past from word button, you're prompted to use your keyboard to paste. After you do that, CKEditor performs the processing on the text. |
I have this error in wpf webbrowser control |
Is the toolbar paste issue ever going to be fixed for desktops? |
version : 4.7.1 CKEDITOR.editorConfig = function( config ) { |
CKEditor's 4.7 plain text paste is broken in Android Firefox and Chrome. It is used not often, but sometimes it is very handy to paste & edit texts from tablet. But in 4.7 paste from clipboard doesn't work at all.
When trying to paste via toolbar icon or editor menu I get "Your browser doesn't allow you to paste this way. Press CTRL+V/CTRL+SHIFT+V to paste" message.
Maybe it is possible to leave old paste dialog as optional plugin? Cause in CKEditor 4.6.3 all types of paste worked fine in mobile and desktop browsers. Seems you fixed a thing that was not broken :)
The text was updated successfully, but these errors were encountered: