On the front page of a site I'm working on there's a small slideshow. It's not for pictures in particular, any content can go in, and I'm currently setting up the editing interface for the client. I'd like to be able to have one/two/more columns in the editable area, and ideally that would be via CSS - does anyone know of a WYSIWYG editor that supports this? I'm using Drupal (would prefer not to involve Panels as it would require a bit of work to make it a streamlined workflow for content entry) in case that matters to anyone.

To start the ball rolling, one way would be to use templates. I know CKEditor supports templates, and it looks like TinyMCE might have something similar. I don't know how well these work with tableless columns (the CKEditor homepage demo uses tables to achieve its two column effect).

Holding out for a cool solution!

  • 1
    +1, Awesome question I've often wondered. Personally, I abandoned WYSIWYG-ness in the editor because of this. – Chris Adragna Dec 8 '10 at 18:43
  • Looking forward to an answer to this, too. I've tried DIV formatting as a means of replacing tables, and it feels like I keep coming back to the tables every time because I can predict how they'll behave better. – Kaji Dec 9 '10 at 6:31
  • Do you mean the editable content spans multiple columns? Or do you just want a multi-columns layout in which one columns is editable? – Stephan Muller Dec 9 '10 at 19:56
  • @Litso I want the option to have the editable content be n columns. This should be something that the user chooses, and should be mirrored in the WYSIWYG editor. I've updated the question slightly to clarify. Thanks. – Andy Dec 10 '10 at 12:47
  • Ooh, tough one. I'll think about an answer, can't promise anything – Stephan Muller Dec 10 '10 at 13:22

This page shows an example of the Aloha editor working with CSS3 columns (and this demo is just plain nuts!). Very nice! I didn't see any way to create the columns through the editor, though that shouldn't be too difficult to add. There's already a thread for Drupal integration as well. The editor also has a repository API which sounds very cool. It's at version 0.9.3, and I noticed the image plugin was still a work in progress, so I'm not sure it's ready for live use yet (I'm also interested in its compatibility). But very very interesting!

| improve this answer | |
  • Brilliant. That editor is so much more than "an editor that can do columns"... I'm really looking forward to implementing this in a Drupal site and seeing a huge smile on my customer's face. Thanks for the tip, Andy! – marcvangend Jan 10 '11 at 12:56
  • You're welcome. Yeah it's certainly more than just a columnful editor. It'd be nice to use Aloha for webmaster content editing (where you can require folk to have up-to-date browsers) on a project soonish. – Andy Jan 10 '11 at 21:13

Have you seen the Columns Filter module? On the input side, it may not be as wysiwyg as a solution with CKeditor templates, but I think it should work fine on the output side.

| improve this answer | |
  • Lovely. Not exactly what I was looking for, but still looks v cool, thanks. – Andy Dec 21 '10 at 10:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.