Home > aRichTextCkeditorPlugin

aRichTextCkeditorPlugin

ARichTextCkeditorPlugin is a project mainly written in PHP, based on the View license.

Apostrophe slot plugin for use ckEditor in rich text editions

aRichTextCkeditor plugin (for symfony 1.4 and apostrophe 1.5)

Description

This plugin is used in Apostrophenow CMS build with Symfony and add 'aRichTextCkEditor' slot. It's just a copy of the aRichText that uses fckEditor.

Install

  • Download the plugin and be sure to enable it in ProjectConfiguration
  • Add aRichTextCkeditorSlot module to enabled_modules at settings.yml
  • Add slot to app.yml list slots: aRichTextCkeditorSlot
  • Add "aRichTextCkeditor" on slot_types in app.yml
  • Rebuild classes: symfony d:build --all-classes

Options

When you add this slot in a template, you can add some options:

  • "toolbar": this is the toolbar you want to use. Actually it may be "basic" (default toolbar) and "full". You can add more toolbars defining it into the widget (I know that it isn't the best option and in a future i'll change it).

  • "jsoptions": it's an array with the options defined in ckEditor documentation.

Previous:kvm