Avatar of egoselfaxis
egoselfaxis

asked on 

Seeking WYSIWYG Editor that works well with PHP and that has best copy/paste functionality when pasting from MS Word documents

We're looking to replace an existing WYSIWYG Editor on our PHP-based custom CMS.

The problem that we're having is that the WYSIWYG editor that we're currently using doesn't handle copy & paste operations very well.  Often times, the client pastes in content using HTML emails or Microsoft Word documents, and sometimes a lot of extra CSS / code bloat tends to come along with it when pasting from the clipboard.

The WYSIWYG editor that we end up replacing ours with should be lightweight / quick loading, .. feature the more advanced copy & paste functionality that I've described (which adequately strips out unwanted code bloat when pasting), .. should be fairly easy to implement in a PHP based CMS. Please advise.

Thanks!
- Yvan
PHPWeb DevelopmentHTML

Avatar of undefined
Last Comment
Ray Paseur
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

The problem is not your editor.  Virtually every editor in the world is going to have issues with the junk those apps stick in the text.  

You will probably need a two step process by filtering the Word junk before you put it into your editor.

Cd&
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Agree with what COBOLdinosaur said.  MS applications screw up all kinds of things.

What are you using now?
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Even the handy "Paste from microsoft" buttons don't work.     The safest thing is to paste to a plain text editor (not word pad as that is just like word) then paste to your wysiwyg.  Or if your wysiwyg has a plain text only, use that.  

I have clients that no matter how many times I tell them to not paste from word they do... and it breaks any of their feeds.    

You can try mark down editors instead or just use a plain text box and convert the hard returns to paragraphs in php processing.
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

One of the members on my site posted this as a link.  I have not tried it, but it my help you:

http://textism.com/wordcleaner/


Cd&
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

I agree also.  The magic editor you seek is not available.  We'd all be using it if it were.
Avatar of egoselfaxis
egoselfaxis

ASKER

I agree with all of you.  It's always a bad idea to expect that good things will happen when you copy and paste from a MS Word document into any kind of WYSIWYG editor.

However .. we still need to replace our existing WYSIWSYG editor with a new & improved one.  Even one that features a simple "Paste from Word" feature/button would suffice.

We are currently using Tiny MCE.  Can anyone here recommend a few WYSIWYG editors that would be good replacement candidates?

Thanks,
- Yvan
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Thanks for the points and thanks for using EE, ~Ray
PHP
PHP

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

125K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo