- Added Craft 5 compatibility.
- Added a link style dropdown to the example Redactor config file.
- Added a SVG to
_examples/redactor/resources/
to demonstrate setup of custom icons. - Updated the default icon for text color.
- Added the HTML button to the example Redactor config file.
- Fixed a bug where formatting didn’t work if
args
was set to a string in the button’s config. (#32) - Fixed button alignment for buttons without an icon.
- Button and dropdown titles are now translatable.
- Fixed a bug where content was not syncing to the input in some cases. (#31)
- Fixed some specificity issues with example styles.
- Added Craft 4 compatibility.
- Custom icons can now be added by uploading SVGs to the config/redactor/resources/ folder.
- Removed build tools for example styles.
- Removed the setting to define a custom resources path.
- Updated styles for Redactor plugin 2.7
- Updated styles for Craft 3.4
- Fixed a JavaScript error that could occur when the Redactor plugin was used in Matrix fields.
- All plugin assets are now served with versioned URLs.
- Redactor plugin version 2.0.0 is now added to the Composer dependencies.
- Added Craft 3 and Redactor 3 compatibility.
- Button configs now accept a
api
setting, which can be set to define the Redactor API to use. - It is now possible to define icons for toolbar buttons added through the plugin.
- Icons for existing buttons can be overridden with the
customButtonIcons
- The plugin got renamed to Redactor Custom Styles.
- The Redactor plugin got renamed to
customstyles
. - The Redactor config to define buttons got renamed to
customStyles
. - The Redactor config to define the default position for buttons got renamed to
customStylesDefaultAddAfter
. - The
args
setting for button configs is now directly passed to the Redactor API. - Custom CSS files for the Control Panel are now automatically included from the config/redactor/resources/ folder. The path can be configured with the
resourcesPath
config setting.
- Removed the
clear
setting for button configs. Use"api": "module.inline.clearformat"
instead.
- Updated the example Redactor config files for Redactor II 2.0.
- Updated the example Redactor config files.
- Custom CSS files for the Control Panel are now automatically included from the craft/config/redactorinlinestyles/ folder.
- It is no longer possible to configure icons for toolbar buttons, the feature is now available in a separate plugin Redactor Icon Buttons.
- The
buttonsAdd
setting now allows to explicitly set the buttons’ indexes, this allows to use the same syntax inbuttonsAdd
and informattingAdd
. - The plugin no longer comes with pre-configued default buttons. Please use the provided example files as a starting point instead.
buttonsAdd
andbuttonsAddAfter
as settings in redactorinlinestyles.php config files are now deprecated.- Custom CSS files for the Control Panel are now automatically included from the craft/config/cp/ folder. The
cssFile
config setting is now deprecated. - The plugin now requires PHP 5.4+.
- The plugin now uses a different Redactor API to apply attributes to tags,
inline.format
now seems to work reliably to apply them (Redactor 1.2.5). - Prevent line-breaks button now uses
<span>
tags again, now that Redactor doesn’t strip them any longer (Redactor 1.2.5).
- Fixed a Javascript error that occurred in Craft 2.6 when the Redactor config file had arrays with NULL values in it (e.g., caused by a trailing comma).
- Updated JSON config files in the examples folder, removed trailing commas.
- Added Composer support.
- Added tooltips to icon buttons.
- Added a color dropdown to the Example-1 configuration.
- The plugin's default configuration now uses the new textual style buttons. Removed the media query to show icons for smaller viewport widths.
- Disabled button active state styles, they only worked for
<strong>
and<em>
buttons.
- Dropdown styles for default and example configs updated for Redactor II 1.1.
- Prevent line-breaks button now uses
<nobr>
tags, it's currently not possible to add<span>
tags. - Fixed the editor styles for
<kbd>
and<nobr>
.
- Added Craft 2.5 plugin configurations.
- It's now possible to configure the buttons and dropdowns the plugin adds to the toolbar, this replaces the now deprecated
buttonsInlineStyles
config setting. - It's now possible to add icons to any toolbar button.
- Added a button to remove all inline styles.
- Added two new buttons:
<cite>
and<kbd>
. - Toolbar icons and the editor styles can now be customized with the
iconsFile
andcssFile
config setting.
- Toolbar icons are now implemented with SVG.
- Added a Prevent line-breaks button.
- New button icons.
- First release