Redactor Redactor 2.x Configuration
With 150 or so settings, there is a lot you can configure with Redactor. On this page you will find a complete list of all these settings, what they do and links to additional relevant documentation where applicable.
All of these settings are created automatically when installing Redactor. They can also be added manually to Users, User Groups or Contexts to override their values for specific users or contexts. To do that, add a new setting with the mentioned key (including the redactor.
prefix!) and the desired value.
Table of Contents
-
Configuration: Advanced
- Additional Plugins (redactor.additionalPlugins)
- Advanced Attributes (redactor.advAttrib) (tv)
- Clean File Names (redactor.cleanFileNames)
- Counter Words per Minute (redactor.counterWPM)
- Formatting Add (redactor.formattingAdd)
- Fullpage (redactor.fullpage) (tv)
- Link Protocol (redactor.linkProtocol) (tv)
- Sanitize Pattern (redactor.sanitizePattern)
- Sanitize Replace (redactor.sanitizeReplace)
- Speech Pitch (redactor.speechPitch)
- Speech Rate (redactor.speechRate)
- Speech Voice (redactor.speechVoice)
- Speech Volume (redactor.speechVolume)
- Stylesheet (redactor.css)
- Text Expander (redactor.textexpander)
-
Configuration: Editor
- Add Shortcuts (redactor.shortcutsAdd)
- Anchor Links (redactor.linkAnchor)
- Autoresize (redactor.autoresize) (tv)
- CodeMirror (redactor.codemirror) (tv)
- Enter Key (redactor.enterKey)
- Focus (redactor.focus)
- Focus End (redactor.focusEnd)
- Image Link (redactor.imageLink)
- Image Position (redactor.imagePosition)
- Image Resizable (redactor.imageResizable)
- Linebreaks (redactor.linebreaks)
- Link No Follow (redactor.linkNoFollow)
- Link to Email (redactor.linkEmail)
- Link Size (redactor.linkSize)
- Link to Resource (redactor.linkResource)
- Link Tooltip (redactor.linkTooltip)
- Load Introtext (redactor.loadIntrotext)
- Minimum Height (redactor.minHeight) (tv)
- Observe Images (redactor.imageEditable)
- Paste as Plain Text (redactor.pastePlainText)
- Placeholder (redactor.placeholder)
- Shortcuts (redactor.shortcuts)
- Tabifier (redactor.tabifier)
- Tab Index (redactor.tabindex)
- Scroll Target (redactor.scrollTarget)
- tabSpaces (redactor.tabSpaces)
- Typewriter (redactor.typewriter) (tv)
- Visual (redactor.visual)
- WYM (redactor.wym) (tv)
- Limiter Character Count (redactor.limiter)
- Configuration: Internationalisation
-
Configuration: Markup
- Allowed Attributes (redactor.allowedAttr)
- Allowed Tags (redactor.allowedTags)
- Cleanup (redactor.cleanup) (tv)
- Clean Spaces (redactor.cleanSpaces) (tv)
- Clean Styles on Enter (redactor.cleanStyleOnEnter)
- Convert Divs (redactor.convertDivs) (tv)
- Convert Links (redactor.convertLinks) (tv)
- Denied Tags (redactor.deniedTags) (tv)
- Margin Float Left (redactor.marginFloatLeft)
- Margin Float Right (redactor.marginFloatRight)
- Paragraphize (redactor.paragraphize)
- Pre Spaces (redactor.preSpaces)
- Remove Attributes (redactor.removeAttr)
- Remove Comments (redactor.removeComments)
- Remove Data Attributes (redactor.removeDataAttr)
- Remove Empty Tags (redactor.removeEmptyTags)
- Replace Styles (redactor.replaceStyles)
- Replace Tags (redactor.replaceTags)
-
Configuration: Media
- Browse Files (redactor.browse_files)
- Convert Image Links (redactor.convertImageLinks)
- Convert Video Links (redactor.convertVideoLinks)
- Date Files (redactor.date_files)
- Date Images (redactor.date_images)
- Drag Upload (redactor.dragUpload)
- Drag Image Upload (redactor.dragImageUpload)
- Dynamic Thumbs (redactor.dynamicThumbs)
- Eureka Plugin (redactor.plugin_eureka)
- Eureka Plugin Shiv IE 9 (redactor.plugin_eureka_shivie9)
- Eureka Upload (redactor.eurekaUpload)
- File Browse Path (redactor.file_browse_path) (tv)
- File Media Source (redactor.file_mediasource) (tv)
- File Upload Path (redactor.file_upload_path)
- Image Browse Path (redactor.image_browse_path) (tv)
- Image Media Source (redactor.mediasource) (tv)
- Image Upload Path (redactor.image_upload_path) (tv)
- Max Directory Depth (redactor.max_directory_depth)
- Parse Parent Path (redactor.parse_parent_path)
- Increment File Names (redactor.increment_file_names)
- Parse Parent Path Height (redactor.parse_parent_path_height)
- Show Dimensions on Resize (showDimensionsOnResize)
-
Configuration: Plugins
- Breadcrumb Plugin (redactor.plugin_breadcrumb) (tv)
- Contrast Plugin (redactor.plugin_contrast) (tv)
- Counter Plugin (redactor.plugin_counter) (tv)
- Download Plugin (redactor.plugin_download) (tv)
- Eureka Plugin (redactor.plugin_eureka) (tv)
- Font Color Plugin (redactor.plugin_fontcolor) (tv)
- Font Family Plugin (redactor.plugin_fontfamily) (tv)
- Font Size Plugin (redactor.plugin_fontsize) (tv)
- Limiter (redactor.plugin_limiter) (tv)
- Listen Plugin (redactor.plugin_speek) (tv)
- Image Dimensions Plugin (redactor.plugin_imagepx) (tv)
- Norphan Plugin (redactor.plugin_norphan) (tv)
- Replacer Plugin (redactor.plugin_replacer) (tv)
- Syntax Plugin (redactor.plugin_syntax) (tv)
- Table Plugin (redactor.plugin_table) (tv)
- Text Direction Plugin (redactor.plugin_textdirection) (tv)
- Text Expander Plugin (redactor.textexpander) (tv)
- Uploadcare Plugin (redactor.plugin_uploadcare) (tv)
- Video Plugin (redactor.plugin_video)
- Zoom Plugin (redactor.plugin_zoom) (tv)
- Configuration: Resource Typeahead
-
Configuration: Toolbar
- Active Buttons (redactor.activeButtons)
- Active Button States (redactor.activeButtonStates)
- Buttons (redactor.buttons) (tv)
- Clips JSON (redactor.clipsJson) (tv)
- Hide Buttons (redactor.buttonsHide)
- Hide Buttons on Mobile (redactor.buttonsHideOnMobile) (tv)
- Colors (redactor.colors) (tv)
- Commemorate Rebecca (redactor.commemorateRebecca)
- Formatting Tags (redactor.formattingTags) (tv)
- Fullscreen Button (redactor.buttonFullScreen) (tv)
- Source Button (redactor.buttonSource) (tv)
- Toolbar Fixed (redactor.toolbarFixed) (tv)
- Toolbar Overflow (redactor.toolbarOverflow) (tv)
Configuration: Advanced
redactor.additionalPlugins
)
Additional Plugins (Define as a comma separated list of “pluginname:pluginfile” to load additional Redactor plugins.
redactor.advAttrib
) (tv)
Advanced Attributes (If enabled attributes such as class, id, and title will be available when editing links and images.
Default:false
redactor.cleanFileNames
)
Clean File Names (When enabled, special characters will be removed from files on upload.
Default:true
redactor.counterWPM
)
Counter Words per Minute (Words per minute used by counter plugin to estimate reading time.
Default:275
redactor.formattingAdd
)
Formatting Add (This setting allows to select tags and styles for the formatting dropdown. formattingAdd can only be applied to p, pre, blockquote and header tags. Each formatting tag gets a CSS class that allows to customize style of each element. See more.
redactor.fullpage
) (tv)
Fullpage (Allows editing of a complete HTML-page (including html, head, body and other tags) in iframe and fullpage mode.
redactor.linkProtocol
) (tv)
Link Protocol (The protocol (http://
, https://
or leave empty) to build links with.
redactor.sanitizePattern
)
Sanitize Pattern (A RegEx pattern applied when sanitizing names of uploaded files.
redactor.sanitizeReplace
)
Sanitize Replace (The replacement character used when sanitizing names of uploaded files.
Default:_
redactor.speechPitch
)
Speech Pitch (Pitch at which voice should be spoken by Speek Plugin when reading aloud.
Default:1
redactor.speechRate
)
Speech Rate (Rate at which voice should be spoken by Speek Plugin when reading aloud.
Default:1
redactor.speechVoice
)
Speech Voice (Voice to be used by Speek Plugin when reading aloud.
redactor.speechVolume
)
Speech Volume (Volume to be used by Speek Plugin when reading aloud.
redactor.css
)
Stylesheet (Put in a full URL to a CSS file to use your own styling for formatting.
redactor.textexpander
)
Text Expander (Enter a short snippet of text or a word and this plugin will replace it to a frequently used predefined text. For example, enter “addrr” to have it replaced with your mailing address.
Configuration: Editor
redactor.shortcutsAdd
)
Add Shortcuts (This setting add your custom shortcuts to Redactor. See more.
redactor.linkAnchor
)
Anchor Links (When enabled, the insert link modal will include a tab for inserting links to anchors.
Default:false
redactor.autoresize
) (tv)
Autoresize (When enabled, the editor will automatically grow as big as needed to show all the text without having any scroll.
Default:true
redactor.codemirror
) (tv)
CodeMirror (If set to ‘true’, CodeMirror will be used for syntax highlighting in source mode, regardless of plugin_syntax setting.
Default:true
redactor.enterKey
)
Enter Key (This setting allows to prevent use of Return key.
Default:true
redactor.focus
)
Focus (By default, Redactor doesn’t receive focus on load, because there may be other input fields on a page. However, to set focus to Redactor, you can use this setting.
Default:false
redactor.focusEnd
)
Focus End (When enabled sets focus after the last character in Redactor.
Default:false
redactor.imageLink
)
Image Link (Turns on the ability to add a link to an image via edit modal window.
Default:true
redactor.imagePosition
)
Image Position (This setting allows to set image position (float alignment) in relation to the text.
Default:true
redactor.imageResizable
)
Image Resizable (Turns on visual image resizing.
Default:true
redactor.linebreaks
)
Linebreaks (This setting turns on markup with line breaks instead of paragraphs when user presses Return key.
Default:false
redactor.linkNoFollow
)
Link No Follow (This setting will add nofollow attribute to the links added via Redactor.
Default:false
redactor.linkEmail
)
Link to Email (When enabled, the insert link modal will include a tab for inserting mailto: links.
Default:true
redactor.linkSize
)
Link Size (Maximum number of characters when displaying a URL.
Default:50
redactor.linkResource
)
Link to Resource (When enabled, the resource link modal will include a tab for inserting links to other MODX Resources.
Default:true
redactor.linkTooltip
)
Link Tooltip (Set to true to allow follow/edit links by putting cursor to the link right in Redactor.
Default:true
redactor.loadIntrotext
)
Load Introtext (When enabled, adds Redactor to the introtext field on the resource.
Default:false
redactor.minHeight
) (tv)
Minimum Height (Used together with the Autoresize
option, the Min Height configuration lets you set either a minimum (when autoresize is enabled) or fixed (when autoresize is disabled) height for the text area. The height is in pixels and only needs the integer numbers added in the setting.
Default:200
redactor.imageEditable
)
Observe Images (When enabled you can click an image to change the alignment and alt/title text.
Default:true
redactor.pastePlainText
)
Paste as Plain Text (This setting turns on pasting as plain text. The pasted text will be stripped of any tags, line breaks will be marked with tag. With this set to ‘true’ and ‘enterKey’ set to ‘false’, line breaks will be replaced by spaces.
Default:true
redactor.placeholder
)
Placeholder (Optional placeholder text to initially display when no other text is available to display.
redactor.shortcuts
)
Shortcuts (This setting add your custom shortcuts to Redactor. See more.
Default:true
redactor.tabifier
)
Tabifier (Sets indent for code when using code.toggle or code.get.
Default:true
redactor.tabindex
)
Tab Index (The tab index order of the text editing field.
0 ### Predefined Links (redactor.predefinedLinks
)
This setting allowing to add a list of predefined links in “Add link” modal. See more.
redactor.scrollTarget
)
Scroll Target (This setting allows to set a parent layer when Redactor is placed inside of layer with scrolling. When this is set, scroll will return to correct position when a user pastes some text.
redactor.tabSpaces
)
tabSpaces (Set to true to use space instead of margins for Chinese language.
Default:false
redactor.typewriter
) (tv)
Typewriter (Stress-free typewriter mode with less clutter.
Default:false
redactor.visual
)
Visual (When disabled launches Redactor in code view mode by default.
Default:true
redactor.wym
) (tv)
WYM (WYM (“What you mean”, aka Visual Structure) mode is a special mode in which through the use of background colors and indentation, the markup structure is made visible. If you want to train your editors to make clean markup, this is a great option to enable. View an example.
Default:false
redactor.limiter
)
Limiter Character Count (Used with the Limiter plugin, this setting controls how many characters are allowed in the editor.
Configuration: Internationalisation
redactor.direction
)
Direction (Sets the default text direction. This can be overridden on block level using the textdirection plugin.
Default:ltr
Options:
- ltr (left-to-right)
- rtl (right-to-left)
redactor.lang
) (tv)
Language (The language to use for Redactor. By default, this will inherit the MODX Manager Language, but can be overridden here.
Default:Manager language
Configuration: Markup
redactor.allowedAttr
)
Allowed Attributes (This setting allows to set attributes that will not be removed from the code.
redactor.allowedTags
)
Allowed Tags (Either use the Allowed Tags setting, or the Denied Tags setting - not both! When using the Allowed Tags setting, you can whitelist accepted tags in the content - others will be stripped.
redactor.cleanup
) (tv)
Cleanup (When enabled, any time text is pasted into the editor it will be parsed and cleaned up to only leave the important markup.
Default:true
redactor.cleanSpaces
) (tv)
Clean Spaces (Removes extra space in pasted text when true and leave extra spaces when ‘false’.
Default:true
redactor.cleanStyleOnEnter
)
Clean Styles on Enter (When enabled this setting will prevent new paragraph from inheriting styles, classes and attributes form a previous paragraph.
Default:false
redactor.convertDivs
) (tv)
Convert Divs (With Convert Divs enabled, Redactor will automatically replace
tags with
tags.
Default:true
redactor.convertLinks
) (tv)
Convert Links (When Convert Links is enabled, Redactor will automatically parse links in the content, and add the proper anchor tags into the markup.
Default:true
redactor.deniedTags
) (tv)
Denied Tags (Either use the Allowed Tags setting, or the Denied Tags setting - not both! When using the Denied Tags setting, you can blacklist tags that are not allowed in the markup.
Default:html, head, link, body, meta, script, style, applet
redactor.marginFloatLeft
)
Margin Float Left (When positioning images as left or right, Redactor lets you put in a_CSS class_ or margins to prevent the image from colliding with the text floating around it. You can define the margin or CSS class for the left align with this setting. Either provide the margin like the value part of a CSS declaration: 0 10px 10px 0
or provide a class name prefixed with a dot: .imageFloatLeftInContent
. If you want multiple classname, only prefix the first with a dot.
Default:0 10px 10px 0
redactor.marginFloatRight
)
Margin Float Right (When positioning images as left or right, Redactor lets you put in a_CSS class_ or margins to prevent the image from colliding with the text floating around it. You can define the margin or CSS class for the right align with this setting. Either provide the margin like the value part of a CSS declaration: 0 0 10px 10px
or provide a class name prefixed with a dot: .imageFloatRightInContent
. If you want multiple classname, only prefix the first with a dot.
Default:0 0 10px 10px
redactor.paragraphize
)
Paragraphize (When linebreaks setting is not set, new and pasted text will be processed by a paragraph markup function. All pasted text and all newly entered text will be marked up with paragraphs to preserve proper text formatting.
redactor.preSpaces
)
Pre Spaces (This setting allows to set the number of spaces that will be applied when a user presses Tab key inside of preformatted blocks. If set to ‘false’, Tab key will apply tabulation instead of spaces inside of preformatted blocks.
redactor.removeAttr
)
Remove Attributes (This setting allows to set attributes that will be removed from the code.
redactor.removeComments
)
Remove Comments (If set to ‘true’, all HTML comment will be removed from code.
redactor.removeDataAttr
)
Remove Data Attributes (When enabled, Redactor will remove all data attributes in the code.
redactor.removeEmptyTags
)
Remove Empty Tags (This setting allows to turn on and off removing of empty tags.
Default:p
redactor.replaceStyles
)
Replace Styles (This setting allows to set which span styles will be replaced by tags.See more.
redactor.replaceTags
)
Replace Tags (By default, tag will always be replaced with . You can set your own array of tags to be replaced. See more.R
Configuration: Media
redactor.browse_files
)
Browse Files (When enabled, allows browsing the filesystem to select uploaded fields.
Default:true
redactor.convertImageLinks
)
Convert Image Links (Converts inserted links to images into `` tags on return.
Default:false
redactor.convertVideoLinks
)
Convert Video Links (Convert added links to YouTube into an embedded player.
Default:false
redactor.date_files
)
Date Files (Enable this setting to have file uploads prefixed with a full timestamp.
Default:false
redactor.date_images
)
Date Images (Enable this setting to have image uploads prefixed with a full timestamp.
Default:false
redactor.dragUpload
)
Drag Upload (This setting allows users to drag and drop images from their computers into Redactor and upload these images to server. This feature works in all latest browsers, except for IE.
Default:true
redactor.dragImageUpload
)
Drag Image Upload (When disabled, turns off the ability to upload files using drag and drop.
Default:true
redactor.dynamicThumbs
)
Dynamic Thumbs (When enabled, dynamic thumbnails will be generated for previewing images.
Default:true
redactor.plugin_eureka
)
Eureka Plugin (When enabled uses the Eureka media browser to choose images.
Default:true
redactor.plugin_eureka_shivie9
)
Eureka Plugin Shiv IE 9 (When enabled includes polyfills to hack IE9 support.
Default:false
redactor.eurekaUpload
)
Eureka Upload (When enabled, files can be uploaded to current directory within the Insert Image Choose Tab.
Default:false
redactor.file_browse_path
) (tv)
File Browse Path (The path to browse when choosing files, relative to the root of the media source as defined by the Media Source
setting, in which files should be available through the insert file modal window.
Default:assets/uploads/
redactor.file_mediasource
) (tv)
File Media Source (Choose (or provide the ID of) a Media Source to use for uploading and browsing files. This can be any type of Media Source that implements uploading and browsing of images.
redactor.file_upload_path
)
File Upload Path (The path, relative to the root of the media source as defined by the Media Source
setting, in which file uploads should be placed. See Managing Media.
Default:assets/uploads/
redactor.image_browse_path
) (tv)
Image Browse Path (The path to browse when choosing images, relative to the root of the media source as defined by the Media Source
setting, in images which should be browsed through the choose image modal window.
Default:assets/uploads/
redactor.mediasource
) (tv)
Image Media Source (Choose (or provide the ID of) a Media Source to use for uploading and browsing images and files. This can be any type of Media Source that implements uploading and browsing of images.
redactor.image_upload_path
) (tv)
Image Upload Path (The path, relative to the root of the media source as defined by the Media Source
setting, in which image uploads should be placed. See Managing Media.
Default:assets/uploads/
redactor.max_directory_depth
)
Max Directory Depth (Maximum Numbers of directories to recursively fetch when browsing media.
Default:5
redactor.parse_parent_path
)
Parse Parent Path (When enabled, the parent resource is parsed into placeholders in the upload or browse paths. See Managing Media.
redactor.increment_file_names
)
Increment File Names (When enabled, this option will prevent duplicate files getting overwritten by appending a numeric index to the file name.
This option only supports file media sources.
Default:true
redactor.parse_parent_path_height
)
Parse Parent Path Height (The height (or depth) to search for a resources’ ultimate parent.
Default:10
showDimensionsOnResize
)
Show Dimensions on Resize (When enabled image dimensions will be displayed beneath images as they are resized.
Configuration: Plugins
redactor.plugin_breadcrumb
) (tv)
Breadcrumb Plugin (When enabled visually displays a breadcrumb navigation of the DOM node or nodes being edited.
Default:false
redactor.plugin_contrast
) (tv)
Contrast Plugin (When enabled hit F5 to invert editor screen contrast.
Default:false
redactor.plugin_counter
) (tv)
Counter Plugin (Adds a character counter to the bottom right of the editor.
Default:false
redactor.plugin_download
) (tv)
Download Plugin (When enabled adds a toolbar button to download editor code.
Default:false
redactor.plugin_eureka
) (tv)
Eureka Plugin (When enabled uses the Eureka media browser to choose images.
Default:true
redactor.plugin_fontcolor
) (tv)
Font Color Plugin (Adds the ability to set the text color and/or text background color in the toolbar.
Default:false
redactor.plugin_fontfamily
) (tv)
Font Family Plugin (Choose a font family for selected text via the toolbar.
Default:false
redactor.plugin_fontsize
) (tv)
Font Size Plugin (Change the font size specified in pixels. Bigger sometimes is better.
Default:false
redactor.plugin_limiter
) (tv)
Limiter (Limit the number of characters a user can enter.
Default:false
redactor.plugin_speek
) (tv)
Listen Plugin (When enabled and in supported browsers adds a toolbar button which reads editor content aloud.
Default:false
redactor.plugin_imagepx
) (tv)
Image Dimensions Plugin (When enabled adds options to set and preview image dimensions in the Image Edit modal window.
Default:false
redactor.plugin_norphan
) (tv)
Norphan Plugin (When enabled attempts to prevent orphans by replacing the last space between words of block elements with a non-breaking space.
Default:false
redactor.plugin_replacer
) (tv)
Replacer Plugin (When enabled use CTRL+F to trigger a simple Find and Replace tool.
Default:true
redactor.plugin_syntax
) (tv)
Syntax Plugin (When enabled adds Ace syntax highlighter to Redactor source mode. If you prefer CodeMirror, enable the redactor.codemirror
setting instead.
Default:false
redactor.plugin_table
) (tv)
Table Plugin (Insert and format tables with ease.
Default:true
redactor.plugin_textdirection
) (tv)
Text Direction Plugin (Easily change the direction of the text in a block element (paragraph, header, blockquote etc.) via the toolbar.
Default:true
redactor.textexpander
) (tv)
Text Expander Plugin (Enter a short snippet of text or a word and this plugin will replace it to a frequently used predefined text. For example, enter “addrr” to have it replaced with your mailing address.
Default:false
redactor.plugin_uploadcare
) (tv)
Uploadcare Plugin (When enabled adds Uploadcare to the toolbar.
Default:false
redactor.plugin_video
)
Video Plugin (Enrich text with embedded video.
Default:true
redactor.plugin_zoom
) (tv)
Zoom Plugin (When enabled adds a keyboard shortcut to enlarge and decrease font size in content area. Use CTRL + and CTRL -.
Default:false
Configuration: Resource Typeahead
redactor.include_introtext
)
Include Introtext (When enabled, the typeahead will include the introtext for each of the resources, providing you with more information about the resource.
Default:true
redactor.prefetch_ttl
)
Prefetch TTL (Used in the Resource search typeahead, the prefetch contains the top level resources that are published and not deleted. This data is preloaded when the typeahead field is instantiated, providing very quick access to important resources that may be requested, however the typeahead will continue to search further down the resource tree when the users start typing. The prefetch TTL is how long (in microseconds) the prefetch data should be considered valid and stored in the users\’ LocalStorage.
Default:3600000
Configuration: Toolbar
redactor.activeButtons
)
Active Buttons (This setting allows to set which buttons will become active if the cursor is positioned inside of a respectively formatted text. activeButtons should always be used with activeButtonStates.
Default:deleted, italic, bold, underline, unorderedlist, orderedlist, alignleft, aligncenter, alignright, justify
redactor.activeButtonStates
)
Active Button States (This setting allows to set which tags make buttons active. activeButtonStates should always be used with activeButtons.
Default:{ b: 'bold', strong: 'bold', i: 'italic', em: 'italic', del: 'deleted', strike: 'deleted', ul: 'unorderedlist', ol: 'orderedlist', u: 'underline' }
redactor.buttons
) (tv)
Buttons (Contains a comma separated list of the buttons to show in the Redactor toolbar.
Default:html, formatting, bold, italic, deleted, unorderedlist, orderedlist, outdent, indent, image, link, alignment, horizontalrule
redactor.clipsJson
) (tv)
Clips JSON (If set and a valid JSON String, adds the Redactor Clips plugin to the toolbar.
redactor.buttonsHide
)
Hide Buttons (This setting allows certain buttons to be hidden on launch.
redactor.buttonsHideOnMobile
) (tv)
Hide Buttons on Mobile (This setting allows certain buttons to be hidden on mobile devices.
redactor.colors
) (tv)
Colors (The colors (hexcodes) that are available with the fontcolor
and backcolor
toolbar buttons.
Default:#ffffff,#000000,#eeece1,#1f497d,#4f81bd,#c0504d,#9bbb59,#8064a2,#4bacc6,#f79646,#ffff00,#f2f2f2,#7f7f7f,#ddd9c3,#c6d9f0,#dbe5f1,#f2dcdb,#ebf1dd,#e5e0ec,#dbeef3,#fdeada,#fff2ca,#d8d8d8,#595959,#c4bd97,#8db3e2,#b8cce4,#e5b9b7,#d7e3bc,#ccc1d9,#b7dde8,#fbd5b5,#ffe694,#bfbfbf,#3f3f3f,#938953,#548dd4,#95b3d7,#d99694,#c3d69b,#b2a2c7,#b7dde8,#fac08f,#f2c314,#a5a5a5,#262626,#494429,#17365d,#366092,#953734,#76923c,#5f497a,#92cddc,#e36c09,#c09100,#7f7f7f,#0c0c0c,#1d1b10,#0f243e,#244061,#632423,#4f6128,#3f3151,#31859b,#974806,#7f6000
redactor.commemorateRebecca
)
Commemorate Rebecca (Commemorates Rebecca Meyer by setting the Redactor toolbar to her favorite color the seventh of each June.
Default:false
redactor.formattingTags
) (tv)
Formatting Tags (The options you get when clicking the formatting button in the Redactor toolbar. Defaults to: p, blockquote, pre, h1, h2, h3, h4 which are the only currently supported formatting tags.
Default:p,blockquote,pre,h1,h2,h3,h4
redactor.buttonFullScreen
) (tv)
Fullscreen Button (When enabled, a fullscreen button will be located in the right of the toolbar.
Default:true
redactor.buttonSource
) (tv)
Source Button (This setting adds an HTML code view button to the toolbar.
Default:true
redactor.toolbarFixed
) (tv)
Toolbar Fixed (If this option is turned on, Redactor’s toolbar will remain in view at all times, by sticking to the top of the window when scrolling down.
Default:true
redactor.toolbarOverflow
) (tv)
Toolbar Overflow (With this option, you can specify a toolbar button to build only one row on mobile devices.
Default:false