Site logo

Archived topic

Sections and visual/text issue

9 replies · Started by Bard on April 16, 2015

Viewing posts 1–10 of 10

Hi!

Question about the brilliant Sections plugin and edit mode (visual/text).

I have to edit content in text-mode, due to short-codes. But when saving it re-appears in visual mode, adding line-breaks and thus breaking short-code content. Is it possible to make it re-appear in the same mode it was saved in, like when editing ordinary post/page?

Regards, Bård

Hi Bard,

Yea, I'm aware of this issue - I have someone working on it right now to improve it, but I can't make any promises at this point in time.

Repeatable editors have been a huge hurdle - they certainly haven't made it easy.

That being said, adding shortcodes inside the visual editor shouldn't be breaking anything - WordPress adds the same HTML whether you're using the Visual/Text editor on save.

Are you using the latest version of Premium/Sections? Improvements were made on how the editors handle shortcodes in the latest version.

In time I hope to have the editors behave the exact same as the default editor - it's still quite a new plugin :)

Is it possible to disable the visual tab with a function?

It's possible to disable it in your profile by going to "Users > Your Profile".

ok, I still cant use a  . It keeps stripping it.

-Chad

Sweet! Thank you Tom!

You're welcome :)

I just found an answer that I lost and was looking for but couldn't find till now. Instead using ' ' you can use a CSS and a class like this.

`.hidegrid {
content: '.';
visibility: hidden;
}'
'

.

'

That's another way for sure, but   is probably a little more simple for things like this.

This archived topic is closed to new replies.