Diem plugins syndication


Adds a CkEditor WYSIWYG to your site

By default Diem brings you a flavored Markdown editor.
But sometimes, the customer wants a WYSIWYG...

So this plugin integrates the best open source editor: CkEditor.

Currently only admin forms can receive ckEditors.
Later, this plugin will be updated with a front ckEditorWidget.


  • In a console, from your project root dir, run:
git clone git://github.com/ornicar/dmCkEditorPlugin.git plugins/dmCkEditorPlugin  
  • In config/ProjectConfiguration.class.php, add dmCkEditorPlugin to the list of enabled plugins:
class ProjectConfiguration extends dmProjectConfiguration
  public function setup()  
      // your enabled plugins  
  • In a console, from your project root dir, run:
php symfony dm:setup  

CkEditor on admin form

As you would do for a markdown field, precise in the schema.yml that the field is managed by ckeditor:

    body:    { type: clob, extra: ckeditor }  

CkEditor as a front widget

The plugin installs a new widget, available in front Add menu: ckEditor.
As for the default Text widget, you can drag&drop pages and media inside, thanks to Robert Gruendler and Vincent Jousse.

Configure ckeditor

You can pass options to the javascript editor.

      # change the buttons in the toobar  
        - ['Format', 'Bold', 'Italic','Strike','Blockquote', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink']  
        - ['PasteText','PasteFromWord']  
        - ['Undo','Redo']  
        - ['Image','HorizontalRule','SpecialChar']  
      # use a custom javascript config file  
      customConfig: ''  

To configure CkEditor for the whole project, use config/dm/config.yml.
For the front application only, apps/front/config/dm/config.yml.
For the admin application only, apps/admin/config/dm/config.yml.

  • 4levelsJanuary 18, 2010 10:02 PM

    This is great!
    I guess we're all dying to see the front widget released!

    Keep up the great work!

  • ZernaoFebruary 12, 2010 2:05 AM

    Did you plan an approximative release date for the front widget ? I know that there is a lot of work to do on Diem, but an information would be great.

  • alfonsoMarch 5, 2010 10:08 AM

    Hi guys.

    Simple question. Correct me if I'm wrong because I'm still learning git but if your project is in a git repo, you can add the plugin as follows:

    git submodule add git://github.com/ornicar/dmCkEditorPlugin.git plugins/dmCkEditorPlugin

    I think that is better than cloning if your git version supports submodules. Is that correct?

  • ThibaultMarch 5, 2010 3:30 PM

    @Zernao I can't give you a date, but many people need it and we're working on it.

    @alfonso You're right, using submodules is great but it will only work if your project is a git repo. By the way I'll update plugin docs to precise it.

  • Thibault DMarch 9, 2010 3:48 AM

    The front widget is now available! And you can drag&drop pages and medias inside.

  • Yesssss !March 10, 2010 1:08 AM

    I will try it now

  • ZernaoMarch 10, 2010 1:31 AM

    Many thanks to Robert and Vincent. That's really great.
    Question: How to get ckeditor in Front for doctrine extra ckeditor behavior ? When outputing std $form, no ckeditor is available.

  • ZernaoMarch 10, 2010 1:34 AM

    With firebug on ckeditor fields: <textarea id="form_description_body" class="dm_ckeditor {&quot;language&quot;:&quot;en&quot;,&quot;toolbar&quot;:[[&quot;Format&quot;,&quot;Bold&quot;,&quot;Italic&quot;,&quot;Strike&quot;,&quot;Blockquote&quot;,&quot;-&quot;,&quot;NumberedList&quot;,&quot;BulletedList&quot;,&quot;-&quot;,&quot;Link&quot;,&quot;Unlink&quot;],[&quot;PasteText&quot;,&quot;PasteFromWord&quot;],[&quot;Undo&quot;,&quot;Redo&quot;],[&quot;Image&quot;,&quot;HorizontalRule&quot;,&quot;SpecialChar&quot;]],&quot;resize_enabled&quot;:false,&quot;extraPlugins&quot;:&quot;diem&quot;,&quot;customConfig&quot;:&quot;&quot;}" name="rfp_form[description_body]" cols="30" rows="4"></textarea>

  • TammySeincDecember 31, 2016 5:26 AM

    [url=http://buyanafranil.us/]buy anafranil[/url] [url=http://diclofenacsodium.site/]diclofenac sodium 75mg ec tablets[/url] [url=http://amitriptyline-hydrochloride.trade/]amitriptyline hydrochloride[/url] [url=http://cafergot8.top/]cafergot[/url] [url=http://synthroid-generic.trade/]synthroid[/url] [url=http://generic-cialis.party/]generic cialis[/url] [url=http://chlomid.eu/]clomid[/url] [url=http://wellbutrinxl.link/]wellbutrin[/url] [url=http://buy-levaquin.space/]antibiotic levaquin[/url]

  • PhyllisMigJanuary 1, 2017 5:56 PM

    [url=http://prednisolone10.top/]prednisolone[/url] [url=http://buymetformin15.top/]metformin[/url] [url=http://costofcymbalta.site/]cymbalta[/url] [url=http://buyzithromax-4.top/]zithromax[/url]

  • MichaelHahJune 5, 2017 5:45 PM

    wh0cd547513 [url=http://buyabilify17.gdn/]abilify[/url] [url=http://buycephalexin500.top/]cephalexin 500mg[/url] [url=http://clindamycin-247.gdn/]generic clindamycin[/url] [url=http://buydoxycycline0.top/]buy doxycycline[/url] [url=http://buylasix247.top/]lasix[/url] [url=http://prednisolone2016.top/]buy prednisolone no prescription[/url]

  • AlfredterJuly 18, 2017 2:42 AM

    wh0cd613541 [url=http://bentylotc.us.com/]order bentyl[/url] [url=http://abilify365.us.com/]abilify[/url] [url=http://augmentin.us.com/]Augmentin[/url] [url=http://ivermectin.us.com/]stromectol[/url]

  • KennethsundaJuly 19, 2017 1:27 PM

    wh0cd629768 [url=http://femaleviagra4you.us.org/]lovegra[/url] [url=http://bentylantispasmodic.us.com/]bentyl antispasmodic[/url] [url=http://buyvardenafil.us.com/]Cheap Vardenafil[/url] [url=http://bupropionsr.us.com/]bupropion sr[/url] [url=http://cialis20mg24.us.org/]cialis 20 mg[/url]

  • AlfredterJuly 25, 2017 9:38 PM

    wh0cd972368 [url=http://buyzithromax.us.org/]zithromax online[/url] [url=http://genericlasix.us.com/]purchase lasix[/url] [url=http://yasminbirthcontrol.us.com/]yasmin birth control[/url]

  • CharlesTugAugust 5, 2017 2:11 AM

    wh0cd877926 [url=http://metformin500mg.us.com/]buy cheap metformin online[/url]

  • MikehantyAugust 12, 2017 3:48 AM


  • KennethsundaAugust 22, 2017 5:15 AM

    wh0cd32538 [url=http://cialisforsaleonline.us.com/]home page[/url] [url=http://propranololnorx.us.com/]purchase propranolol[/url]

  • AlfredterAugust 24, 2017 11:24 AM

    wh0cd518237 [url=http://celebrex200mg.us.org/]buy celebrex online[/url] [url=http://diclofenac50mg.us.org/]diclofenac 50 mg[/url]

  • CharlesTugAugust 24, 2017 12:53 PM

    wh0cd122240 [url=http://augmentin875mg.us.org/]augmentin 875 mg[/url]

  • BennyRalAugust 24, 2017 4:50 PM

    wh0cd371283 [url=http://augmentin875mg.us.org/]augmentin 875 mg[/url] [url=http://inderal247.us.com/]BUY INDERAL[/url]

  • BennyRalAugust 26, 2017 9:08 AM

    wh0cd710037 [url=http://femaleviagra.us.org/]female viagra[/url] [url=http://cytotec247.us.com/]misoprostol prices[/url]

  • CharlesTugSeptember 2, 2017 1:24 PM

    wh0cd445939 [url=http://buyretina.shop/]buy retin a[/url] [url=http://buyyasmin.shop/]buy yasmin[/url] [url=http://elimite.directory/]elimite[/url]

  • MichaelHahSeptember 8, 2017 12:35 AM

    wh0cd3458410 [url=http://acyclovir.us.com/]buy zovirax[/url]

  • CharlesTugSeptember 9, 2017 12:47 PM

    wh0cd4193130 [url=http://tadalafil.fail/]tadalafil[/url] [url=http://propecia.news/]propecia[/url] [url=http://genericviagra.reisen/]viagra[/url]

  • MichaelHahSeptember 10, 2017 2:40 AM

    wh0cd6397351 [url=http://genericzoloft.pro/]zoloft[/url]

  • CharlesTugSeptember 13, 2017 2:36 PM

    wh0cd8234213 [url=http://trazodone100mg.pro/]oder trazadone for sleeping[/url] [url=http://medrol.work/]medrol pak 4mg[/url] [url=http://buydiflucan.store/]diflucan[/url]

  • JohnhantySeptember 16, 2017 6:43 AM

    [url=https://paydayloans.us.org/]best payday loans online[/url]

  • AaronkicSeptember 17, 2017 12:44 PM

    [url=http://hydrochlorothiazide12.us.org/]Hydrochlorothiazide[/url] [url=http://bupropionsr150mg.us.org/]Bupropion[/url]

Add a comment

Impossible to fetch issues for this plugin.
Impossible to get this plugin changelog.

dmCkEditorPlugin, created on January 7, 2010 by Thibault D, used by 3926 projects

Fork Diem on GitHub