Questions tagged [wysiwyg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 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
1answer
18 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 ...
2
votes
1answer
651 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
1answer
529 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
2answers
3k 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
1answer
118 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
1answer
596 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
2answers
623 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
2answers
727 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 ...
2
votes
2answers
1k 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
2answers
552 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
1answer
88 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 '&gt;' {{ story.html|...
1
vote
0answers
64 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
1answer
133 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
2answers
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
4answers
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
2answers
516 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
1answer
699 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
2answers
1k 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 ...