There is currently a cool Markitup! editor (http://drupal.org/files/panopoly-markitup-editor.png) in Panopoly but it lacks some important buttons! This task is to extend the editor to include the HTML pack (http://markitup.jaysalvat.com/downloads/demo.php?id=markupsets/html) and configure it to mirror the TinyMCE as best as possible.

As a development note, this change will need to have a parts:

1.) A patch will need to be developed to be a patch against the standard MarkItup! library similar to how we do it with TinyMCE (libraries[tinymce][patch][1561882] = http://drupal.org/files/1561882-cirkuit-theme-tinymce-3.5.2.patch). This will involve adding images to a git patch which is documented, I think, here (http://moodle.org/mod/forum/discuss.php?d=138846).

2.) A patch will also need to modify the Markitup WYSIWYG using the altering hooks in panopoly_wysiwyg and probably some wysiwyg configuration which can be exported out with Features.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

populist’s picture

Assigned: Unassigned » beeradb
populist’s picture

Assigned: beeradb » Unassigned

Let me take this one. I love this editor!

populist’s picture

Status: Active » Fixed
FileSize
23.1 KB

Here is a patch to the Markitup! Library to implement the HTML button set (http://markitup.jaysalvat.com/downloads/demo.php?id=markupsets/html) which adds H1, H2, H3, H4, P, Ordered List, and Unordered List. These are added through hook_wysiwyg_settings_alter() in panopoly_wysiwyg.module, but ideally would be added directly through the WYSIWYG. This work would depend on #577258: Adding buttons in markItUp? and perhaps some related work in #313497: Allow configuration of advanced editor settings. For now, this has been committed + pushed up to Panopoly!

AlanO’s picture

Awesome, this is great stuff. I always wanted this type of editor. Just like drupal.org! Thank you so much populist!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.