简体   繁体   中英

HTML CSS How to ignore child styles?

i'm having trouble setting wyziwyg editor in my site (tried at least 20 editors and every of them has same problem: pasting the text from word or even notepad creates unwanted CSS stylings (example: font-size, padding, even color). now I'm looking for a way to create master rule in wrapping div which will ignore every child stylings.

Is there a way to do so?

thanks everyone

TinyMCE for example has an Paste as plain text exactly for that. Check it out here: http://www.tinymce.com/ , click on Edit->Paste as plain text

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM