Skip to main content

Questions tagged [plaintext]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

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 ...
Lee's user avatar
  • 139
2 votes
1 answer

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 \ ...
Ryan's user avatar
  • 1,952
1 vote
1 answer

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="" width="100%" height="500" type="text/html" frameborder="0" ...
mateostabio's user avatar
2 votes
2 answers

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>{{ ...
Jay's user avatar
  • 1,042
3 votes
1 answer

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 ...
Paul Frost's user avatar
  • 1,060