Jump to content

CKEditor and pasting


AAD Web Team
 Share

Recommended Posts

Probably a little late to be useful, but I ran into the same issue today, returned to this thread to semi-reverse engineer myself, and came up with the following:

Change 

$value = preg_replace('/<span.*?>/i', '', $value, -1, $qty);

to
  
$value = preg_replace('/<span(?!.*?class=").*?>/i', '', $value, -1, $qty);

 

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...