Skip to content
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

Pasted H tags are changed to P's in xhtml mode #2

Open
richardbenson opened this issue Dec 31, 2009 · 1 comment
Open

Pasted H tags are changed to P's in xhtml mode #2

richardbenson opened this issue Dec 31, 2009 · 1 comment

Comments

@richardbenson
Copy link
Owner

If I paste in a bunch of unstyled text from say DW or whatever, and try and select a Heading, I get the

stuff. If I type directly into the YUIEditor and then select a heading, it works. Sadly, that is rarely how people work. They paste into the YUIEditor and start styling things.

As a relevant example. For my client I have specific fonts, sizes, and colors already defined for H2, H3, and H4 tags. All I want is the ability for the client to be able to select Headings 2, 3 and 4 from the drop down menu in your YUIEditor.

@meancode
Copy link

The code I get that was stripped out by GitHub here is: p style="font-family: yui-tmp;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants