Questions tagged [wysiwyg]
The wysiwyg tag has no usage guidance.
20
questions
0
votes
0
answers
30
views
Is there a WYSIWYG editor field which gives structured data back over GraphQL?
I'm using Craft in headless mode, and I'm building a NextJS application which queries Craft via GraphQL.
I've been evaluating the various different field types I can use to produce a "content ...
1
vote
2
answers
611
views
Max character limit on WYSIWYG text editor plugin?
Is it possible to add a max character limit to CKEditor, Redactor, or any other rich text, or WYSIWYG plugin??
I've searched around, and I'm surprised that I have not been able to find a solution. ...
1
vote
1
answer
57
views
Disable WYSIWYG?
I hate WYSIWYG.
I prefer to write my own html but can't figure out how to put that into a field for entries content.
I tried plain text but that does not work.
I tried to disable cleanup and purify ...
4
votes
1
answer
1k
views
Craft 3 Redactor Link no longer has target option
The option for opening a link in the Redactor WYSIWYG no longer includes a field for opening it in a new tab? I haven't been able to find any docs that indicate any options for the Redactor config ...
2
votes
1
answer
703
views
Customising the new CKEditor5 in Craft 3
How do you configure the new CKEditor editor to e.g. add images? Do you create a config/CKeditor folder with a .json file and install the @ckeditor/ckeditor5-image package?
5
votes
2
answers
4k
views
Craft 3 RC Upgrade killed the WYSIWYG Editor
I just finished upgrading to Craft 3 RC and all text on the site is gone. The WYSIWYG Editor has been replaced with this message:
Unable to find component class 'craft\fields\RichText'.
What can I ...
1
vote
1
answer
299
views
How to link to an entry in a Markdown field in the CMS
I want to do something that's perhaps connected to the id so that if the title/slug updates, then I don't have to hunt anything down in entries across the CMS.
Something like this maybe?
[Link to an ...
2
votes
1
answer
841
views
Add Anchor in WYSIWYG editor
How can I add an anchor element in my content. Both the id tag and name attribute are removed from the a tag by the WYSIWYG editor.
For example:
<p><a name="my-anchor">My anchor with a ...
2
votes
2
answers
1k
views
Adding a cite tag within the blockquote tag using redactor's WYSIWYG?
I have a rich text field that needs to have the cite tag within. See here:
It is currently ouputting as:
<blockquote>
This is the quote.
</blockquote>
Whereas I need to work in an ...
2
votes
2
answers
1k
views
Redactor II image resizing?
What is the preferred image handling method when using the WYSIWYG editor? Are inline transforms the only way to prevent large images, or are there any other solutions?
Although I am aware of ...
3
votes
2
answers
2k
views
Redactor Images Button Missing
I am currently using the Standard JSON configuration. My config is below. I cannot get the image button to show up for my Body Field/Rich Text. This is the same configuration I've used on other ...
4
votes
2
answers
602
views
What is the future for the Craft rich text editor?
I can (almost) appreciate the recent impositions of Redactor 2, but when it comes to handing off the site to a client, Redactor 2 is virtually unusable for anything more than paragraph text.
Are ...
1
vote
1
answer
111
views
Using 'replace' with a regex is throwing an error. Any ideas why?
I am attempting to strip out <p> tags around <img> tags that are automatically getting generated in a WYSIWYG field.
The error: preg_replace(): Unknown modifier '>'
{{ story.html|...
2
votes
0
answers
84
views
Redactor II issue - adding completely random linebreaks to pasted text
(This is not a duplicate of Redactor II Craft 2.5 Prevent Paragraphs)
I am trying to paste in text from LibreOffice and the text ends up in Redactor II with, as far as I can tell, completely random ...
3
votes
1
answer
166
views
Pasting tables from Microsoft Word into Rich Text fields
How do you paste a table created in Microsoft Word into a Rich Text field in Craft?
5
votes
2
answers
2k
views
HTML/View Source button not working/showing in WYSIWYG Craft 2.5 / Redactor II 1.1.0
The "HTML" button no longer seems to show in the WYSIWYG. The button is set in the Redactor config file like so:
{
"buttons": ["html","formatting","bold","italic","unorderedlist","orderedlist","...
2
votes
4
answers
2k
views
Craft WYSIWYG editor and CKEditor
I have a client who requires more advanced formatting options than the current Redactor editor provides, like editing table cells, merging cells, background colors, etc.
My plan is to integrate ...
3
votes
2
answers
773
views
WYSIWYG removes HTML button all non-<p> tags when view source
Any code that I previously inserted using the html button on the rich text wysiwyg is removed when I click into edit the html within a post. Only <p> tags remain.
I have turned off the "Clean ...
2
votes
1
answer
1k
views
Limit characters in redactor wysiwyg field
I'm trying to limit the amount of characters by adding the 'limiter' plugin to the redactor field which can be found here:
http://imperavi.com/redactor/plugins/limiter/
I've added the limiter.js ...
5
votes
2
answers
2k
views
How to link to an anchor on an entry page from within Rich Text editor
I need to link to a particular #anchor on a page from within the WYSIWYG editor.
However, if I start by using Link to Entry in the Rich Text editor, Redactor adds its own 'anchor' (with the same ...