Questions tagged [redactor]

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

Filter by
Sorted by
Tagged with
6
votes
3answers
3k views

How do I enable redactor rich text editor in a front-end form?

I have a front-end form for registered users to submit entries, however I'd like to have a WYSIWYG editor like the dashboard. How would I get redactor working with this form? My form: <form ...
4
votes
3answers
1k views

How can I use <small> <sub> <sub> within a redactor/rich-text field?

We need to be able to add super and sub-text to a rich text field without having the client dive into the markup. Has anyone successfully added this as a redactor or Craft plugin?
4
votes
1answer
872 views

Redactor II Craft 2.5 Prevent Paragraphs

I realize Craft 2.5 ships with Redactor II which has many changes. With Redactor I a combination of paragraphize: false, replaceDivs: false, linebreaks: true, enterKey: false kept text from being ...
9
votes
1answer
959 views

Table button missing in Rich Text fields?

I updated to Craft 2.3 and noticed that the Table button is now missing from my Rich Text fields? How can I get that button back?
4
votes
2answers
1k views

Can images embedded in a Rich Text field be resized on output?

I see how to use Image Transforms when the image tag is its own field but don't see a way to handle images within Rich Text fields or force a size on upload. I need to have the image dimensions ...
3
votes
3answers
386 views

How to remove Link To Category from Redactor

Is there a way to remove the 2 Craft specific menu items from Redactor's Link menu without losing access to the "Insert link" menu item? Removing the Link button in the redactor configs is too ...
2
votes
2answers
3k views

Install Redactor plugin

I would like to install a Redactor plugin (http://imperavi.com/redactor/plugins/font-color/) I placed the fontcolor.js into craft/app/ressources/lib/redactor/plugins and added buttons: ['...
12
votes
3answers
8k views

How do I add custom styles/plugins to the rich text editor in Craft?

I'm aware that I can customise which buttons is available in the rich text editor. But how can I add custom css styles, either as classes or as inline styles? Do I need to create a plugin for this? If ...
6
votes
1answer
506 views

Extra spaces appearing in Rich Text fields after 2.5 update

In addition to the inability to resize images in the rich text fields (mentioned elsewhere), I'm having issues with rich text fields, particularly in Matrix blocks, inserting extra spaces between ...
7
votes
2answers
1k views

Can I change which 'Format' options are available in my Rich Text field?

I want to update my Rich Text field so only H1, H2 and H3 are the available options in the 'Format' selector. Is this possible?
4
votes
2answers
679 views

How to add Redactor Image resizing and positioning to the Rich Text field in Craft?

Can anyone provide details on how to add Redactor (II) Image resizing and positioning to the Rich Text field in Craft? Many thanks!
3
votes
2answers
486 views

All fields disappearing except 'Title' after saving

All other fields disappear except the 'Title' field after I save a large block of text with a lot of links in the body (richtext) field. I can't seem to pinpoint it on to anything specific, this is ...
7
votes
1answer
459 views

Remove outdent & indent from Redactor2 "lists" button

Redactor 2 introduced a single "lists" option for ordered and unordered lists but unfortunately this adds the outdent and indent options in as well. Any way of removing outdent/indent again?
3
votes
2answers
4k views

Where do I add custom css for the Redactor editor in the Craft control panel?

Redactor provides a way to specify custom styles for content in the editor. It's documented here: http://imperavi.com/redactor/examples/typography/ How can I use this approach with Craft? I've ...
3
votes
1answer
4k views

Rich text editor Redactor adding additional paragraph p tags

The rich text editor redactor is adding in additional p tags to rich text content. Is there a way to modify this so it accepts the unmodified HTML but still has the advantage of WYSIWYG editing? ...
3
votes
3answers
1k views

How can I add headings using the Rich Text field

How can I add the functionality for my clients to make text not just bold or italic, but have h2, h3, h4 headings too?
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 ...
2
votes
1answer
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 ...
2
votes
2answers
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 ...
1
vote
1answer
2k views

How to add a non-breaking space to a rich text field?

Seems like a basic question but I can’t figure out a way to do this out of the box, or reference to it in the Redactor docs. ‘&nbsp;’ always gets stripped out.
0
votes
1answer
339 views

HTML code button missing from Rich Text "standard" view after 2.5 upgrade [duplicate]

After recently upgrading to Craft 2.5.x the HTML code view button is now missing from the "standard" Rich Text view, which means I can no longer edit all the custom HTML code I've added to those ...
6
votes
3answers
854 views

Change font of Redactor II

How do I change the default font (Trebuchet) of Redactor II to Arial, for instance? I don't know how to override the default CSS of Redactor. Please help. Tnx in advance!
6
votes
3answers
924 views

apply transform to image uploaded into Redactor?

Is it possible to allow the selection of an image transform on an image that's been uploaded into a Redactor field?
3
votes
2answers
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 ...
3
votes
1answer
468 views

Using the Redactor rich text field, how can I dynamically wrap my images with a fancyBox link (with attributes as parameters)?

I'm using fancyBox (from fancyApps, http://fancyapps.com/fancybox/), and I need to wrap my images added within the Redactor rich text field with a link that had an href to the image source + some ...
3
votes
1answer
934 views

Use <span> in Redactor

Is there any way to add <span> tags to Redactor II or the Redactor I plugin - would like to upgrade a site to latest version of Craft which had Redactor I and the https://github.com/aelvan/...
2
votes
2answers
2k views

<div> being replaced by <p> tags in redactor rich text editor

I have read previous questions and answers about the redactor rich text editor but in this version of Craft i only found simple.json and standard.json under craft/config/redactor. I have tried with ...
2
votes
1answer
274 views

Can I limit the available styles from the rich text field?

I want my client to have the ability to do things like bold, italicize, and hyperlink text, but I would rather them not be able to use some of the other rich text field abilities. I see from this ...
1
vote
1answer
273 views

Upgrade Redactor?

How soon is the Craft team planning to upgrade to the latest version of Redactor? Redactor version 10.0 introduced some breaking changes and new formatting options, which are not backwards compatible. ...
1
vote
2answers
247 views

RedactorClips and RedactorStyles plugins not working

I have both Redactor Clips and Redactor Styles plugins installed, but neither seem to affect my rich text editor (i.e., i don't see any extra buttons). Are there known issues?
0
votes
0answers
188 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 ...