Skip to main content

Questions tagged [ckeditor5]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Custom HTML tag removed from ckEditor5 on save

I've created a custom ckeditor5 plugin. The plugin adds a new button to ckeditor5 toolbar to add a custom HTML tag with some data. Switching between view and model in ckeditor works fine. But from ...
user3086053's user avatar
2 votes
1 answer
119 views

ckEditor and line breaks

Here's something about line breaks I don't understand. I've recently upgraded from Redactor to ckEditor on a project that accepts public submissions to a job board. These jobs are almost always copy/...
Mosswalker's user avatar
1 vote
1 answer
128 views

How to add the option for a link to select a target, e.g. open link in new window? [CKEDITOR Plugin]

I want certain links on the website which I added in a CKEditor field to open in a new tab/window by adding the target attribute "_blank". By default, there is no option to select this ...
flip's user avatar
  • 149
1 vote
1 answer
136 views

CKEditor 4: Open Link in new Tab

Craft 5 // CKEditor 4 I'm really missing an option to open a link in a new Tab. an external link should open in a new tab by default sometimes the redacteur needs to have the option to open an entry ...
Marc 's user avatar
  • 194
2 votes
1 answer
137 views

Craft 5, CKEditor accessing parent entry from partial

Craft 5, CKEditor accessing parent entry from partial Is it possible to access the parent entry from a partial template being rendered from an embedded entry in a CKEditor field? For example, consider ...
Jason's user avatar
  • 348
1 vote
1 answer
63 views

Adding CKEditor first party packages

The plugin documentation for craft ckeditor says that first party packages include a build file that I need to add the plugin. I'm not seeing a build directory in any of the ckeditor first party ...
Collyn's user avatar
  • 13
1 vote
2 answers
170 views

CKEditor 5: Paste plain text

I'm testing the new CKEditor: https://craftcms.com/blog/ckeditor-revamped One of my very first check is "copy & paste" into the RTE, because my editors WILL do this. (I know my editors .....
Marc 's user avatar
  • 194
1 vote
1 answer
35 views

Page Breaks in CKEditor

I've added a page break in my CKEditor field. When I output the field in my template it dumps everything in the field. How do I withhold the content after the page break?
Grabius's user avatar
  • 21
1 vote
2 answers
86 views

Prevent CKEditor5 from filtering out classes

CKEditor5 filters out any classes applied to HTML elements. However, I'd like to allow certain classes to be applied to <ul> elements (e.g. class1, class2) without CKEditor5 stripping them out. ...
user3092's user avatar
  • 117
1 vote
2 answers
585 views

Craft 4, CKEditor 5, image resizeOptions not showing in image toolbar

I'm experimenting with all the CKEditor 5 config options and I like how the docs have the image resize (https://ckeditor.com/docs/ckeditor5/latest/features/images/images-overview.html#image-contextual-...
Amanda Lutz's user avatar
1 vote
1 answer
652 views

How to add additional features (plugins) to ckeditor5

using the new ckeditor5 and want to include additional features https://ckeditor.com/docs/ckeditor5/latest/features/text-transformation.html I want to convert quotes ("") to european quotes (...
Henrik's user avatar
  • 425
1 vote
2 answers
1k 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. ...
BBaysinger's user avatar
1 vote
1 answer
94 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 ...
MrGlasspoole's user avatar
1 vote
1 answer
154 views

Plugin CKEditor outputs something with nothing?

I have a problem with the CkEditor for Craft CMS. If I leave the textfield empty and save it, the output in the browser will still contain <p>&nbsp;</p> when I want it to be blank. I ...
Joe's user avatar
  • 79
1 vote
2 answers
332 views

CKEditor Null Value

I'm using CKEditor as one of my fields, I'm trying to detect if there is any content within them, unfortunately it's still appearing even using the below code (and the field is actually empty). {% if ...
JMKelley's user avatar
  • 1,416
2 votes
1 answer
997 views

How to add a button or format style in Craft 3 CKEditor (rich text field)

I'm looking to customize the CKEditor (rich text field) to restrict my client to only these buttons: h2, p, bold, italic, underline, link & unordered list.
mateostabio's user avatar
2 votes
1 answer
1k 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?
Nutmeg's user avatar
  • 598