You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the text element wordpress is adding p tags to any text.
I was able to correct this issue by changing the wp_editor to textarea in file mp-stacks-text.php (line 51 and 74).
The text was updated successfully, but these errors were encountered:
We want people to be able to use the wp_editor because of it's wysiwyg editor (tinymce).
As far as I am aware, having the p tags added is an automatic feature of the tinymce editor. We will have to work with those p tags - similarly to how they are added automatically for WordPress posts and pages.
I could work on a content-type add on which creates a non formatted text area for times when formatted text is not desired. Would that be useful do you think?
We want people to be able to use the wp_editor because of it's wysiwyg
editor (tinymce).
As far as I am aware, having the p tags added is an automatic feature of
the tinymce editor. We will have to work with those p tags - similarly to
how they are added automatically for WordPress posts and pages.
I could work on a content-type add on which creates a non formatted text
area for times when formatted text is not desired. Would that be useful do
you think?
—
Reply to this email directly or view it on GitHub #3 (comment).
When using the text element wordpress is adding p tags to any text.
I was able to correct this issue by changing the wp_editor to textarea in file mp-stacks-text.php (line 51 and 74).
The text was updated successfully, but these errors were encountered: