Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP stacks adding <p> </p> tags #3

Open
collinazimmerman opened this issue Jul 24, 2014 · 2 comments
Open

MP stacks adding <p> </p> tags #3

collinazimmerman opened this issue Jul 24, 2014 · 2 comments

Comments

@collinazimmerman
Copy link

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).

@mintplugins
Copy link
Owner

Hey thanks for the feedback.

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?

@collinazimmerman
Copy link
Author

Yes. I think that would be fine, adding a new type to prevent the p tags.

Thanks.

On Thu, Jul 31, 2014 at 6:42 PM, mintplugins notifications@github.com
wrote:

Hey thanks for the feedback.

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants