Questions tagged [plaintext]
The plaintext tag has no usage guidance.
5
questions
1
vote
1
answer
452
views
How to display plain text only from redactor without any line break or format
Is there a way to display plain text only without any line break or format style. I have an input field using the redactor. I want the result to shows plain text without any formatting for this ...
2
votes
1
answer
61
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
1
answer
1k
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
2
answers
252
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>{{ ...
3
votes
1
answer
3k
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 ...