I
I
Ilya Beloborodov2019-02-17 20:26:59
Yii
Ilya Beloborodov, 2019-02-17 20:26:59

Imperavi remove class?

I use imperavi plugin from Vova07.
You need to insert a large html markup, with several nested divs.
Implemented through Clips. Everything is OK, but the editor clears the divs from classes.
Implemented through the plugin - the same thing. How to prevent the editor from deleting classes, or a list of classes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
padlyuck, 2019-02-17
@padlyuck

pure imperavi has the pasteKeepClass setting https://imperavi.com/redactor/docs/settings/paste/... for the vova07/yii2-imperavi-widget plugin, specify this setting with an array of tags for which classes should remain and should work in theory . look in the source code of the widget where to shove this setting and in theory everything should work out

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question