# Redactor

**URL:** https://forum.modmore.com/c/redactor/7.md

[Latest](https://forum.modmore.com/latest.md) · [Categories](https://forum.modmore.com/categories.md)

---

## [About Redactor](https://forum.modmore.com/t/about-redactor/18)

<div class="topic-metadata">

**Author:** [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Replies:** 0\
**Last updated:** [August 7, 2015, 4:11pm UTC](https://forum.modmore.com/t/about-redactor/18 "2015-08-07T16:11:34Z")

</div>

Redactor is a clean & user friendly Rich Text Editor, tightly integrated with MODX. It has ridiculously easy image uploads, makes sure the markup is tidy at all times and offers amazing levels of customization through se…

---

## [Image Browser with Context Aware Media Source](https://forum.modmore.com/t/image-browser-with-context-aware-media-source/2706)

<div class="topic-metadata">

**Author:** [@ebc](https://forum.modmore.com/u/ebc)\
**Replies:** 1\
**Last updated:** [August 15, 2026, 6:23am UTC](https://forum.modmore.com/t/image-browser-with-context-aware-media-source/2706 "2026-08-15T06:23:06Z")

</div>

I setup a site with a media source that fires a snippet on the basePath and baseUrl settings like /assets/images/\[\[!get\_context\_key\]\] to restrict the file folder based on the context and also based on which users have ac…

---

## [Bug When Pasting Text with Link](https://forum.modmore.com/t/bug-when-pasting-text-with-link/1950)

<div class="topic-metadata">

**Author:** [@smg6511](https://forum.modmore.com/u/smg6511)\
**Replies:** 5\
**Last updated:** [February 17, 2026, 4:43pm UTC](https://forum.modmore.com/t/bug-when-pasting-text-with-link/1950 "2026-02-17T16:43:17Z")

</div>

When pasting text with a link to an internal resource, the manager url is prepended to the link tag. For example if the link in the copied text was \[\[~123\]\], it becomes /manager/\[\[~123\]\] when pasted. Update: Upon furthe…

---

## [Redactor - remove, replace, or ban NBSP tags?](https://forum.modmore.com/t/redactor-remove-replace-or-ban-nbsp-tags/2635)

<div class="topic-metadata">

**Author:** [@ebc](https://forum.modmore.com/u/ebc)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 2:57pm UTC](https://forum.modmore.com/t/redactor-remove-replace-or-ban-nbsp-tags/2635 "2025-04-23T14:57:08Z")

</div>

Can the rich text fields in Redactor be setup to strip out or replace non-breaking-space tags (&nbsp;) with regular spaces? Apparently we are getting some copy and pasted in from outside sources which then screws up an …

---

## [Custom CSS not working](https://forum.modmore.com/t/custom-css-not-working/2614)

<div class="topic-metadata">

**Author:** [@ivmedia](https://forum.modmore.com/u/ivmedia)\
**Replies:** 1\
**Last updated:** [January 7, 2025, 7:13pm UTC](https://forum.modmore.com/t/custom-css-not-working/2614 "2025-01-07T19:13:11Z")

</div>

I created a custom CSS file and place it into my /assets/css/ path. I also add the »redactor-box« class to all my typographic tags (headlines, p, blockquote), but nothing works. Any Tipps?

---

## [Remove P-Tag in Tables & How to add table headers](https://forum.modmore.com/t/remove-p-tag-in-tables-how-to-add-table-headers/2613)

<div class="topic-metadata">

**Author:** [@ivmedia](https://forum.modmore.com/u/ivmedia)\
**Replies:** 0\
**Last updated:** [December 8, 2024, 6:49am UTC](https://forum.modmore.com/t/remove-p-tag-in-tables-how-to-add-table-headers/2613 "2024-12-08T06:49:53Z")

</div>

If I paste a table from Word, there are P-Tags inside the table cells. How to remove them? And how to add TH-Tags for Table headers?

---

## [How to create a named anchor (solved)](https://forum.modmore.com/t/how-to-create-a-named-anchor-solved/2552)

<div class="topic-metadata">

**Author:** [@ivmedia](https://forum.modmore.com/u/ivmedia)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 2:28pm UTC](https://forum.modmore.com/t/how-to-create-a-named-anchor-solved/2552 "2024-05-30T14:28:20Z")

</div>

How to create a named anchor like \<a name="something"\>blabla\</a\> from a headline and add a link in the text to link to it?

---

## [Custom Formatting Bug](https://forum.modmore.com/t/custom-formatting-bug/2533)

<div class="topic-metadata">

**Author:** [@visions](https://forum.modmore.com/u/visions)\
**Replies:** 3\
**Last updated:** [April 24, 2024, 1:58pm UTC](https://forum.modmore.com/t/custom-formatting-bug/2533 "2024-04-24T13:58:47Z")

</div>

When applying a custom format, it is not possible to switch to another format IF the firstly applied format is anything else than a h-, p- or pre-tag. Even when using the examples from the documentation, this does not w…

---

## [Set text-align:left](https://forum.modmore.com/t/set-text-align-left/2520)

<div class="topic-metadata">

**Author:** [@desper](https://forum.modmore.com/u/desper)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 4:54pm UTC](https://forum.modmore.com/t/set-text-align-left/2520 "2024-01-24T16:54:47Z")

</div>

Hi, I’m currently working on a project where the global CSS sets the default text alignment to ‘justify’. However, we’ve encountered a scenario where the client occasionally needs to use left-aligned text. The issue aris…

---

## [Problem to add file with Redactor](https://forum.modmore.com/t/problem-to-add-file-with-redactor/2451)

<div class="topic-metadata">

**Author:** [@jerome.lanon](https://forum.modmore.com/u/jerome.lanon)\
**Replies:** 6\
**Last updated:** [November 16, 2023, 6:07am UTC](https://forum.modmore.com/t/problem-to-add-file-with-redactor/2451 "2023-11-16T06:07:04Z")

</div>

Hello I try to add files on content part with Redactor, via the button File: If I want to use the “Drop files here or click to upload” , the file is well uploaded, in good place, but the url of the file is not good: I …

---

## [Can i set redactor configuration based on parent?](https://forum.modmore.com/t/can-i-set-redactor-configuration-based-on-parent/2498)

<div class="topic-metadata">

**Author:** [@Rdg](https://forum.modmore.com/u/Rdg)\
**Replies:** 1\
**Last updated:** [November 15, 2023, 2:15pm UTC](https://forum.modmore.com/t/can-i-set-redactor-configuration-based-on-parent/2498 "2023-11-15T14:15:39Z")

</div>

Hi i want to use a specific redactor configuration for all files and subfolders within a specific parent. Is that possible? I know i can tie the config ID to a template property but the pages within this folder all use…

---

## [Toolbar buttons/dividers seem to be glitched](https://forum.modmore.com/t/toolbar-buttons-dividers-seem-to-be-glitched/2380)

<div class="topic-metadata">

**Author:** [@imig](https://forum.modmore.com/u/imig)\
**Replies:** 2\
**Last updated:** [February 5, 2023, 10:04pm UTC](https://forum.modmore.com/t/toolbar-buttons-dividers-seem-to-be-glitched/2380 "2023-02-05T22:04:39Z")

</div>

The toolbar buttons configuration is not working as expected/stated in the documentation. The divider elements are not correctly ordered/aligned. The attached screenshot shows the standard configuration that is shipped w…

---

## [Placeholders in image path doesn't work](https://forum.modmore.com/t/placeholders-in-image-path-doesnt-work/2379)

<div class="topic-metadata">

**Author:** [@Spheerys](https://forum.modmore.com/u/Spheerys)\
**Replies:** 10\
**Last updated:** [September 27, 2022, 3:53pm UTC](https://forum.modmore.com/t/placeholders-in-image-path-doesnt-work/2379 "2022-09-27T15:53:33Z")

</div>

Hi, I’m using Redactor 3.1.2 within MODX 2.8.4 I’m trying to setup the Image Upload Path on Redactor like this : The image upload path are set as well on the Simple Browser and MODX Browser too. But it’s doesn’t w…

---

## [TV input type 'redactor' failure](https://forum.modmore.com/t/tv-input-type-redactor-failure/2374)

<div class="topic-metadata">

**Author:** [@fdijkers](https://forum.modmore.com/u/fdijkers)\
**Replies:** 2\
**Last updated:** [September 17, 2022, 1:02pm UTC](https://forum.modmore.com/t/tv-input-type-redactor-failure/2374 "2022-09-17T13:02:16Z")

</div>

Accessing the TV with inputtype ‘redactor’ gives the following error: TypeError: Argument 1 passed to RedactorInputRender::\_\_construct() must be an instance of modTemplateVar, instance of MODX\\Revolution\\mysql\\modTempl…

---

## [Can redactor us \<br /\> tags?](https://forum.modmore.com/t/can-redactor-us-br-tags/2384)

<div class="topic-metadata">

**Author:** [@ebc](https://forum.modmore.com/u/ebc)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 3:50pm UTC](https://forum.modmore.com/t/can-redactor-us-br-tags/2384 "2022-09-05T15:50:56Z")

</div>

Redactor currently uses \<br\> tags when doing a line break. Can it be told to make those into \<br /\> tags instead. I had a problem elsewhere in a site trying to build an XML feed that didn’t like the HTML version of the l…

---

## [H6 formatting issue](https://forum.modmore.com/t/h6-formatting-issue/2381)

<div class="topic-metadata">

**Author:** [@imig](https://forum.modmore.com/u/imig)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 3:49pm UTC](https://forum.modmore.com/t/h6-formatting-issue/2381 "2022-09-05T15:49:05Z")

</div>

Whenever using h6 formatting the new line is not cleaned up afterwards. See video here: Dropbox Capture

---

## [Wrap text around images](https://forum.modmore.com/t/wrap-text-around-images/2375)

<div class="topic-metadata">

**Author:** [@Rdg](https://forum.modmore.com/u/Rdg)\
**Replies:** 0\
**Last updated:** [July 25, 2022, 1:27pm UTC](https://forum.modmore.com/t/wrap-text-around-images/2375 "2022-07-25T13:27:16Z")

</div>

How can i make text wrap around an image? I know how to setup my CSS for this (float) but since redactor keeps wrapping images in tags this cant work. Also R3 wont let me insert an image inside the tag it wil wrap th…

---

## [\[Example\] Use Redactor in Ext JS window](https://forum.modmore.com/t/example-use-redactor-in-ext-js-window/2321)

<div class="topic-metadata">

**Author:** [@jako](https://forum.modmore.com/u/jako)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 2:46pm UTC](https://forum.modmore.com/t/example-use-redactor-in-ext-js-window/2321 "2022-01-20T14:46:31Z")

</div>

If you want to use Redactor in your own custom manager page (CMP) window, you have to add some configuration code extending MODx.Window. The normal MODx.Window handles the ENTER key in textareas and does not submit the M…

---

## [How to set default view inside filemanager to list mode?](https://forum.modmore.com/t/how-to-set-default-view-inside-filemanager-to-list-mode/2209)

<div class="topic-metadata">

**Author:** [@Spheerys](https://forum.modmore.com/u/Spheerys)\
**Replies:** 3\
**Last updated:** [September 28, 2021, 5:34pm UTC](https://forum.modmore.com/t/how-to-set-default-view-inside-filemanager-to-list-mode/2209 "2021-09-28T17:34:14Z")

</div>

Hi, I’m using redactor 3.1.0 and I try to set the filemanager view on list, instead of grid by default. MODX has a setting named modx\_browser\_default\_viewmode but it’s not working for the redactor’s filemanager. Is th…

---

## [Clips only showing one in Redactor 3.1.0](https://forum.modmore.com/t/clips-only-showing-one-in-redactor-3-1-0/2233)

<div class="topic-metadata">

**Author:** [@ebc](https://forum.modmore.com/u/ebc)\
**Replies:** 1\
**Last updated:** [May 19, 2021, 9:41pm UTC](https://forum.modmore.com/t/clips-only-showing-one-in-redactor-3-1-0/2233 "2021-05-19T21:41:16Z")

</div>

I have some clips in Redactor 3.1.0-pl and it only shows the first item. Clicking it only inserts the first item also. \[ \["Summary + Details Expander", "\<details\>\<summary\>Title Goes Here\</summary\>\<p\>Details go here.\</…

---

## [Preview failing in Redactor 3.1.0-pl](https://forum.modmore.com/t/preview-failing-in-redactor-3-1-0-pl/2234)

<div class="topic-metadata">

**Author:** [@ebc](https://forum.modmore.com/u/ebc)\
**Replies:** 4\
**Last updated:** [May 19, 2021, 9:40pm UTC](https://forum.modmore.com/t/preview-failing-in-redactor-3-1-0-pl/2234 "2021-05-19T21:40:09Z")

</div>

I have an issue with the previews in Redactor 3.1.0-pl and it shows an error message: Could not update preview, error thrown: \[ReferenceError\] $R is not defined This may indicate an error in a plugin or Redactor itsel…

---

## [Z-index error with Commerce/Redactor](https://forum.modmore.com/t/z-index-error-with-commerce-redactor/2232)

<div class="topic-metadata">

**Author:** [@Spheerys](https://forum.modmore.com/u/Spheerys)\
**Replies:** 3\
**Last updated:** [May 11, 2021, 7:11am UTC](https://forum.modmore.com/t/z-index-error-with-commerce-redactor/2232 "2021-05-11T07:11:54Z")

</div>

Hi, There is a z-index error when using Commerce 1.1.4-pl and Redactor 3.1.0-pl, when listing the products. Have a look :

---

## [Z-index issue with the handle for resizing picture with Agenda modal window](https://forum.modmore.com/t/z-index-issue-with-the-handle-for-resizing-picture-with-agenda-modal-window/2035)

<div class="topic-metadata">

**Author:** [@Spheerys](https://forum.modmore.com/u/Spheerys)\
**Replies:** 12\
**Last updated:** [November 8, 2020, 4:42pm UTC](https://forum.modmore.com/t/z-index-issue-with-the-handle-for-resizing-picture-with-agenda-modal-window/2035 "2020-11-08T16:42:11Z")

</div>

There is an anoying issue with the image resize handle with Redactor 3 and Agenda. The z-index of the handle is lower than the Agenda modal window and its disapearing behind. I made a quick screencast to show you in ac…

---

## [Autoparse Embeds](https://forum.modmore.com/t/autoparse-embeds/2161)

<div class="topic-metadata">

**Author:** [@pyrographics](https://forum.modmore.com/u/pyrographics)\
**Replies:** 1\
**Last updated:** [February 22, 2021, 8:52pm UTC](https://forum.modmore.com/t/autoparse-embeds/2161 "2021-02-22T20:52:04Z")

</div>

I use Bootstrap on most websites, one issue I am having is video embeds in redactor are automatically wrapped with figure however Bootstrap needs them to be wrapped in a div with their own classes to be responsive. Is t…

---

## [Configure buttons acting weird](https://forum.modmore.com/t/configure-buttons-acting-weird/2173)

<div class="topic-metadata">

**Author:** [@ebc](https://forum.modmore.com/u/ebc)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 5:34pm UTC](https://forum.modmore.com/t/configure-buttons-acting-weird/2173 "2021-01-29T17:34:51Z")

</div>

In Redactor 3.0.1 there is something odd going on with the ability to customize the buttons in Redactor. For example font size gets inserted between the bold and italics buttons. If you try to add all the buttons availab…

---

## [Another z-index-problem?Edit links in template editor](https://forum.modmore.com/t/another-z-index-problem-edit-links-in-template-editor/2174)

<div class="topic-metadata">

**Author:** [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Replies:** 0\
**Last updated:** [January 28, 2021, 11:25pm UTC](https://forum.modmore.com/t/another-z-index-problem-edit-links-in-template-editor/2174 "2021-01-28T23:25:47Z")

</div>

Short case study: create a CB-Template, put a redactor-RTE-field in it. Try to insert or edit a link in that field. The modal window will sit underneath all other modals and cannot be used or reached without closing the …

---

## [\[Redactor\] How to disable data-\* parameters when upload file?](https://forum.modmore.com/t/redactor-how-to-disable-data-parameters-when-upload-file/2155)

<div class="topic-metadata">

**Author:** [@Spheerys](https://forum.modmore.com/u/Spheerys)\
**Replies:** 5\
**Last updated:** [January 15, 2021, 4:35pm UTC](https://forum.modmore.com/t/redactor-how-to-disable-data-parameters-when-upload-file/2155 "2021-01-15T16:35:23Z")

</div>

Hi, I’m using Redactor 3 for a customer, and when he’s uploading a file, on the generated html there is : \<p\>\<a href="assets/uploads/2020/myfile.png" data-file="assets/uploads/2020/myfile.png" data-name="myfile.png"\>my…

---

## [Add extra Attribute to redactor 2](https://forum.modmore.com/t/add-extra-attribute-to-redactor-2/2125)

<div class="topic-metadata">

**Author:** [@Thirdwrist](https://forum.modmore.com/u/Thirdwrist)\
**Replies:** 2\
**Last updated:** [September 10, 2020, 4:54pm UTC](https://forum.modmore.com/t/add-extra-attribute-to-redactor-2/2125 "2020-09-10T16:54:09Z")

</div>

I have searched all over the web for the documentation that fits into my working usecase for redactor 2, The working solutions I have gotten off the web and works for me isn’t on the redactor documentation for redactor 2…

---

## [Missing toolbar button](https://forum.modmore.com/t/missing-toolbar-button/802)

<div class="topic-metadata">

**Author:** [@jasasoft](https://forum.modmore.com/u/jasasoft)\
**Replies:** 5\
**Last updated:** [August 27, 2020, 1:34pm UTC](https://forum.modmore.com/t/missing-toolbar-button/802 "2020-08-27T13:34:07Z")

</div>

My client is complaining that sometimes he is missing some toolbar buttons. I can't seem to replicate the issue. Is there something I can check?

---

## [Add new special characters?](https://forum.modmore.com/t/add-new-special-characters/2123)

<div class="topic-metadata">

**Author:** [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Replies:** 2\
**Last updated:** [August 27, 2020, 1:25pm UTC](https://forum.modmore.com/t/add-new-special-characters/2123 "2020-08-27T13:25:02Z")

</div>

Hi! The possibility to insert special characters in Redactor is very nice for my clients, but a pair of important characters are missing: the single guillemets “›” and “‹” that are common for quoted text inside »quoted …

[Next page](https://forum.modmore.com/c/redactor/7.md?page=1)
