Error when classes is blank
-
This seems very useful, well done. I was looking for a way to support
<mark>.When I set up a new formatting option with Type Value of
mark, no classes are necessary to add.After saving settings, the plugin echos the following error into the table…
Undefined index: classes in /Users/myname/Local Sites/the-map/app/public/wp-content/plugins/tinymce-custom-styles/tinymce-custom-styles.php on line 631Only adding an arbitrary class name , eg. “
none“, removes the error. But I don’t need to use any classes.Looks like you need to properly check whether the user has added
classes.
The topic ‘Error when classes is blank’ is closed to new replies.