Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [redactor]

An easy to use WYSIWYG editor that is visually light and very flexible.

0
votes
0answers
17 views

HTML Purifier Allow <script

I understand the implications of having a script tag in my redactor field. But I am importing approx. 5k articles in to a Redactor field, some of which have various tags from embedded Podcasts, ...
0
votes
1answer
46 views

Can't link to entries or assets via a Redactor field

When using a Redactor field for a section, I can’t upload assets or link to entries. I just get an empty modal with no ability to select a section or asset folder. Thoughts on what I’m doing wrong? [...
1
vote
1answer
29 views

Redactor - formattingAdd isn't changing code

I added a custom formattingAdd to my Standard.json file in my Redactor config. It's supposed to add the attribute data-aos="fade-right" to a paragraph tag. The "Animate" format option is showing up in ...
2
votes
1answer
18 views

Pre-fill fields when creating an entry in CP

I am using redactor plugin for my field type and I want to use global values of the same field type to be used as pre-fill value when creating a new entry. Use case: Each year there is an edition of ...
1
vote
1answer
55 views

Redactor formattingAdd not working

I've used redactor's custom formatting option before, but now I can't get anything to work. Here's what my file currently looks like: { "buttons": [ "formatting", "bold", "...
1
vote
1answer
32 views

Craft 3 Upgrade having issues with rich text editor

I know that Craft3 now requires Redactor or CKEditor plugins to handle rich text editing, however after installing the Redactor plugin through the store, I am getting this error in the 'Body'. The ...
-1
votes
1answer
30 views

Entry not saving when Redactor bold

I'm having a weird issue with the Rich Text Editor (Redactor -> simple.json, only "bold" and "italic") on newly added fields and only ONE (that i know of) older field. Every time i add a "bold" format ...
1
vote
1answer
25 views

Can you hook into a Redactor field before render?

I am wanting to hook into all my redactor fields content before rendering and update any inline links to include a title="" attribute. Is it possible to hook into the field before it is rendered? With ...
1
vote
1answer
46 views

Is there a way to allow users to control alignment of images in the Redactor plugin using Craft 3

I'm looking to let editors determine the alignment of images in a Redactor field. I wasn't sure if it worked out of the box with Craft 3 (I'm using 3.0.9). I did find this plugin: https://github....
1
vote
0answers
32 views

Redactor customisation not showing in Redactor text field

I've set up a custom redactor .json file which works and shows up on the dropdown, however, whenever I'm selecting one of the options the text in the field isn't updating to the chosen style. I've ...
1
vote
1answer
27 views

Imagemanager plugin doesn't show up in toolbar

I have upgraded redactor 2 to redactor 3, since a lot of things had to be changed. Been fixing those and it works well. I have a problem with image manager plugin which doesn't show up in the toolbar. ...
1
vote
1answer
36 views

Issues with Redactor on Local Install

I loaded redactor. When I try to run the install command ./craft install/plugin redactor I get an error back that says craft is a directory. It appears the plugin may already be installed. But I do ...
1
vote
0answers
17 views

Redactor image default filter

Is it possible to define a default filter for an image inserted in Redactor text ? Filter twig for front or config ? Thanks
2
votes
1answer
45 views

How do I wrap my Youtube video from a Redactor field with Bootstrap's responsive classes?

In my Redactor field, I'd like to programmatically wrap all Youtube videos that have been added through Redactor's video plugin with Bootstrap's responsive embed classes. This answers how to add a ...
1
vote
0answers
32 views

Redactor has destroyed my mailto links, now what?

I migrated from EE > CraftCMS. The email links in my EE WYGWAM fields were encoded as JS. When we imported to CraftCMS we lost all of those links. They now look like this: <a>joe@schmoe.com</...
0
votes
0answers
23 views

Using Rich Text in own plugin templates (CP)

I'm developing a custom plugin with its own CP templates. I'm, extending the CP layout fine and importing the field macros built into Craft just fine, eg {% extends 'enquiries/layout/_cp' %} {% ...
0
votes
0answers
45 views

Redactor fontcolor plugin change color set options

I have fontcolor plugin loaded on our site from here: https://imperavi.com/redactor/plugins/fontcolor/ In the code example on that page it says we can change the color set options for this plugin ...
0
votes
0answers
28 views

Issue with image urls when uploading via Rich Text

I am experiencing a new and perplexing issue with post images. I have uploaded post images via the rich text editor and they were displaying fine but somewhere along the way the images disappeared and ...
1
vote
1answer
37 views

Redactor field doesn't display

Redactor fields are failing to display for my client and I'm stumped as to what might be happening. They work fine for me and I haven't heard reports from any of the other 10+ CMS users. It seems ...
0
votes
0answers
76 views

Redactor - FormattingAdd Strips all tags

I'm trying to create a formatting button with Redactor that aligns text to the right or center, without stripping the existing tags that surround the text. My config/redactor/Standard.json file looks ...
1
vote
1answer
297 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 ...
0
votes
0answers
22 views

Redactor (Rich Text field) issue occurs in Craft 2.6.3017

Redactor (Rich Text field) issue occurs in Craft 2.6.3017. It takes large amount of time for loading and once it is loaded, I can't even edit my backend.
1
vote
1answer
90 views

Craft 3 CP performance

I'm wondering what kind of performance I should expect from Craft 3's Control Panel. I've created a (clever) structure, where I have matrix field which contains a superTable field. Matrix Row (...
1
vote
1answer
72 views

Cannot edit entries after Redactor 2.0.1 upgrade

I upgraded to Redactor 2.0.1 on Craft Pro 3.0.6, and now I'm getting this error anytime I try to edit an entry that uses Redactor. InvalidConfigException('Redactor plugin not found: '.$plugin); I ...
1
vote
2answers
63 views

Specify Redactor config in migration

is it possible to specify the Redactor config file when creating a Redactor field programmatically? I was hoping I could do something like the following but have had no success: $bodyField = $...
2
votes
2answers
263 views

Redactor 3 config code

I'm trying to get the same features I had in Craft 2 in Craft 3 redactor field. This is the code I had in config/redactor/standard.json: { "buttons": ["format","bold","lists","link","file"], "...
1
vote
2answers
80 views

How can I get the image picker on the WYSIWYG editor?

I am running on the latest version of Craft (Craft CMS 2.6.3015). I have a blog entry, which has a Rich Text editor for the body field. However, I do not have an image or file upload field in the ...
1
vote
1answer
232 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.
0
votes
0answers
31 views

Trouble “un-fixing” redactor toolbar

I'm trying to unfix the redactor toolbar so it moves down the browser as users work on long pages. I have updated the .json file but it still doesn't seem to be working. Running Craft 2.6.3015. ...
0
votes
0answers
53 views

IMG with defined width/height in rich text field

I have a Rich Text field where the user (Craft 2.6) can upload/add images. However the <img> tag that gets generated just has the src on it and I need it to also define the IMG's true width/...
1
vote
1answer
145 views

Redactor plugin not found: imagePosition Craft 3

I just updated a Craft 2 site to Craft 3, everything pretty much works except for this error: Redactor plugin not found: imagePosition Since Redactor is now installed via the plugin store, how do I ...
1
vote
0answers
12 views

Section permissions are ignored when linking to an entry

Users with permissions to limited sections can still “link to an entry” in any section from within the WYSIWYG (Redactor) editor. I'm using Craft 2 with a Rich Text (Redactor) field. Is this a bug ...
0
votes
0answers
137 views

Craft 3 Redactor Image is not showing

Using Craft 3 RC15 For some reason the image button is not showing on redactor toolbox when using different redactor config from default. Custom config: Name: Standard.json File config content: { ...
0
votes
0answers
59 views

Redactor entry links to dev server

When building a site locally and linking to entries in redactor fields, all of the links are being saved in the database with links to my local dev server (http://mysite.test/path/). Is there a config ...
0
votes
0answers
343 views

How do you configure HTML Purifier?

I am using Craft CMS 2.6.2991 and have an issue my client has pointed out to me when center aligning an image in a rich text field. Currently when adding an image with Redactor it adds the image to ...
0
votes
1answer
96 views

How to output a Rich Text Link to an Entry as a tooltip?

I have a Glossary channel on my site, with Term and Definition fields. I would like Terms to display their definitions throughout the site...whenever so assigned by the content editor. I currently ...
1
vote
1answer
84 views

Append a string to the end of all rich text links

I'm trying to append a string to the end of all rich text links. Is there an already existing plugin for this?
1
vote
2answers
80 views

Superscript in entry title

We launched a site for a scientific publication and they use subscript and superscript in lots of their content. Now they'd like to use in entry titles too.. I know I can set the entry title to be a ...
1
vote
1answer
54 views

How to remove hidden HTML from Radactor editor in CrafCMS 3

I am using Redactor 1.0.1 plugin in Craft 3, When copy/paste from any website into WYSISWG boxes, hidden HTML is included. How do I remove that?
0
votes
0answers
191 views

Rich Text Editor (Redactor) in Front-End, can't paste anymore after updating to 2.6.2993

We updated Craft CMS to version 2.6.2993. There is a Rich Text Editor (RTE) field, that's being used in the Front-end of the website (Inside a form). It uses Redactor to include the functionality for ...
1
vote
0answers
28 views

How can I prevent Redactor italicising text within asterisks?

In my Rich Text field, I've got some text that looks like this (it uses an unordered list): • Line 1 • Line 2* • Line 3 * Here is some more text The problem is that the "Line 3" text is appearing ...
3
votes
1answer
87 views

<abbr> plugin for Redactor

I'm attempting to write a basic plugin for Redactor (Redactor plugin on Craft 3 RC) but I'm tripping at the first hurdle: It seems I can add any attribute to my <abbr> other than a title (the ...
1
vote
0answers
63 views

Redactor inserts reference tags into IMG when using image transforms, but tag not being processed by parseRefs

Been working with Craft for about a year, but today for the first time I had to modify the Redactor config to place images inside a body field. I added 'image' to my buttons array and everything ...
1
vote
2answers
106 views

Modify how the html fields are outputted by Redactor

Is there a way to modify how the html fields are outputted by Redactor? I'm creating an email template and I'm trying to add inline styles to Redactor's list items, links, etc.
1
vote
1answer
477 views

How can I insert images into a Redactor rich text field in a front-end form?

I want to allow registered users to insert (i.e. upload) images into a Redactor rich text field in a front-end form. I dowloaded the Image Manager plugin from Imperavi (https://imperavi.com/redactor/...
0
votes
1answer
63 views

Disable “dynamic links” in rich text fields

When we're adding a "link > link to an entry" to a rich text field, this will result in a link to https://www.site.com/page#entry:3962:url and we understand what the purpose is of this additional #...
3
votes
1answer
259 views

Is there a better way to make tables in Craft?

I'm using the table function built into Redactor, and all my tables are coming out with the minimum width possible, without any padding between columns. How do I modify how Redactor builds its tables?
1
vote
1answer
120 views

Adding link type to Redactor Rich Editor

I have a Craft CMS powered site which has "Suppliers" set up as a user group. A route is being used to link through to these suppliers on the frontend; example.com/supplier/loremipsum. Is it possible ...
2
votes
1answer
301 views

Can you add anchors in redactor?

I know if I turn off Purify HTML I might be able to get anchors working in Redactor rich text fields, but I want the ole client to be able to insert anchor links. Does a plugin for this exist, or is ...
2
votes
1answer
183 views

Force redactor to only display HTML editor view

Is there a way to make a Rich Text field using Redactor, to only display and allow input in the HTML view? The first step I tried was making a redactor config file that looks like this: { "...