Skip Navigation

[Resolved] Field Types EYSIWYG and Multiline

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#2206439

What is the difference between WYSIWYG and Multiline field type?

When/why would you use one type over the other?

#2207065

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Georgey,

Thank you for getting in touch.

A WYSIWYG is basically What you see is what you get. This means that you have the formatting Tools on the editor to add whatever text based formatting you want such as Bold, Italics etc. It's basically a formatting editor.

The single line is an editor for plain text. There isn't any formatting tools on this editor and is basically used when you want to store raw unformatted texts.

Please let me know if this helps.
Thanks,
Shane

#2207105

My question was regarding multiline and WYSIWYG. But the use case for SingleLine, MultiLine and WYSIWYG would be helpful. Are there pros/cons to using one over the others ?

#2207117

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Georgey,

You will use the WYSIWYG editor whenever you want to allow for formatting of the text that is being stored on the site.

For the Multiline it is used when text formatting isn't a factor. Lets say you want to add some additional notes on the post , in this case you will use multiline.

The single line is when you want to add some short text.

Additionally its much easier to evaluate the single line fields and multiline fields in our conditional blocks. They can be interchangeable but what will determine the usage is if you want to be able to visually format your texts or not.

When it comes to pro/con I can only think of what differentiates them which is the ability to format your texts visually on the WYSIWYG editor.
Also it should be noted that if you're adding shortcodes to you posts it will only work when added to a WYSIWYG editor given that this field is processed by PHP while the others take the raw text directly from the database.

Thanks,
Shane