tooth-paste Posted December 18, 2015 Share Posted December 18, 2015 I'am testing with the new front-end editing function and run into a couple of things. 1 When I copy/paste text to the front end, tags are being added that mess up the design. 2 The front end does not work on buttons. The <a> tag overrides. Does anyone knows how to solve this? Link to comment Share on other sites More sharing options...
Tom. Posted December 19, 2015 Share Posted December 19, 2015 I'am testing with the new front-end editing function and run into a couple of things. 1 When I copy/paste text to the front end, tags are being added that mess up the design. Schermafbeelding 2015-12-18 om 22.53.50.png 2 The front end does not work on buttons. The <a> tag overrides. Schermafbeelding 2015-12-18 om 22.40.40.png Does anyone knows how to solve this? Hi, copy and pasting will often try and carry it's formatting. I'm going to assume you are using CKEditor when pasting in? There is an option to remove formatting when pasting it's a clipboard with a [T] next to it. To fix the a tag problem, Ryan fixed this in update 3.0.2 - https://processwire.com/blog/posts/processwire-2.7.2-master-and-3.0.2-devns/ If you find this problem still exists, please report it on github 1 Link to comment Share on other sites More sharing options...
tpr Posted January 28, 2016 Share Posted January 28, 2016 1 When I copy/paste text to the front end, tags are being added that mess up the design. I see that contents are cloned into a div by PW but original classes are not kept (using option A). Copying over the original classes to the ".pw-edit-orig" div could help keeping the original design and it would be easy to implement using jQuery. On edit the formatting are gone but after save they are back, so imo it would be a step forward - messing up the original design could be stressful for the client. 1 Link to comment Share on other sites More sharing options...
BryanWalters Posted February 8, 2016 Share Posted February 8, 2016 That GIF was more helpful though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now