is_in_text_editor
- EquationPlugin.is_in_text_editor(instance)[source]
Check if the plugin was added to a text plugin.
- Parameters
instance (EquationPluginModel) – Instance of the plugins Model
- Returns
True if the plugin was added to a text plugin (‘djangocms-text-ckeditor’) or False if it was added to page as stand alone element.
- Return type
bool