rkingon / Craft-Plugin--Trimmer

27 stars 1 forks source link

Option to keep HTML tags #6

Closed owldesign closed 7 years ago

owldesign commented 7 years ago

For rich text field it will remove all formation the user add in their wysiwyg editor...like bold, italic, etc..

Wonder if plugin can offer option to keep html tags.

mikestreety commented 7 years ago

The trouble with this is if the trim happens during a bold/italic tag. What would the expected behaviour be?

rkingon commented 7 years ago

@owldesign, @mikestreety is correct. we strip the html on purpose