thenewinquiry / tni-core-functionality

Contains the site's core functionality.
GNU General Public License v2.0
2 stars 0 forks source link

Visual editor shortcode bug #13

Open misfist opened 7 years ago

misfist commented 7 years ago

Moved from https://github.com/thenewinquiry/tni-theme/issues/58

When using the visual editor for posts with [popover] shortcodes, line breaks get added for some reason?

misfist commented 7 years ago

This is actually also in the plugin because we don't want shortcodes to stop workinig if the theme is changed.

This issue seems to be related to Shortcode UI, not the shortcode itself. Shortcode UI provides the interface to add the shortcode via fields and it renders it in the visual editor (so users can preview what it's going to look like [sort of]). When I disable shortcode UI, the shortcode no longer has p tags added when switching to the visual editor.

So, I'm wondering if you want to disable shortcode UI until I can figure out a solution?

BTW. I added a ticket for this wp-shortcake/shortcake#721

misfist commented 7 years ago

The plugin has been disabled until this issue can be resolved.