Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tinymce paste text with color

Tags:

tinymce

I'm using the paste plugin in my tinymce editor.

when i'm pasting a text inside of it (from a word document for example) , the text is copied but without it's color.

how can I paste the text with it's color?

Thank's In Advance.

like image 974
user590586 Avatar asked Aug 04 '26 17:08

user590586


1 Answers

Ok, i suggest you use the paste plugin then. The paste plugin has a very usefull setting called paste_retain_style_properties. Using this parameter you may define what styles you wish to keep. You can select 'all' to keep all styles settings or use a comma-separated list.

like image 155
Thariama Avatar answered Aug 07 '26 07:08

Thariama



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!