Questions tagged [plaintext]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
114 views

How to create single lines from a plain text field with line breaks

Building on this question here: Create line breaks from text field What approach would be best for breaking a multi line plain text field into multiple single lines to be used as: <span>{{ ...
1
vote
1answer
336 views

How to strip out src=“” value with twig from iframe code

I have have a text field for copy-pasting an iFrame code. <iframe src="https://webpagelink.com/l/3556456/2019-03-06/34576" width="100%" height="500" type="text/html" frameborder="0" ...
1
vote
1answer
24 views

Store phonetics in plain text field

I need to store phonetics for word definitions in a plain text field. An example would be something like "Craft Website" => \ ˈkraft ˈweb-ˌsīt \, like you'd see in a dictionary. If I try saving \ ...
1
vote
1answer
657 views

Enable line breaks in plain text fields

When you create a Plain Text field it asks if you want to allow line breaks, but they are ignored when output in the template. I don't want to have to use a rich text field just to enable editors to ...