There are a variety of sub-issues under this, including:
#1698986: Add new projects to Spark for sprint 2 work#1697586: Aloha Editor + Spark sprint: Drupal-specific Aloha Editor plug-ins still need to be merged/cherry-picked#1686568: Nested editables: macro filter tags (first: token_filter)#1702254: [Meta] As a content editor, I want to be able to caption images and align them through the WYSIWYG toolbar#1701522: Add our own formattings transformation handler (i.e. when pasting, always use <strong>, never use <b>)
Removing #1701618: Range errors when using CaptionedImage plug-in , replacing it with #1702254: [Meta] As a content editor, I want to be able to caption images and align them through the WYSIWYG toolbar.
To get copy/paste plus <strong> instead of <b> to work well, we'll also need #1701522: Add our own formattings transformation handler (i.e. when pasting, always use <strong>, never use <b>).
Updated issue summary.
Bugs in edit/edit_aloha fixed while working on this, both related to edit assuming edit_aloha is enabled:
Bugs encountered when using jQuery 1.7, which Jesse just added the other day to be able to have cleaner code in the Layouts code:
And one more bug that I found that wasn't due to jQuery 1.7:
- http://drupalcode.org/project/edit.git/commit/0ac68d5 (when you changed a field through an in-place form on a non-node page, the "Save" button wouldn't become blue/clickable because no changes were being detected)
Uploaded patches are to be used by our make file:
- #5: necessary to be able to override their custom UI
- #6: pull requests that have not yet been merged into a release that is available for download
All are used in http://drupalcode.org/project/spark.git/commit/3b1c0f5.
Remaining wrap-up steps:
1) Make the default filtered HTML format look like https://dl.dropbox.com/u/80682862/d.o/2012/spark%20edit%20wysigyg%20text...
2) add some img with a data-caption and data-align atrribute to the example node body
I'm going to try and knock this out.
Two patches weren't applying so I've rerolled them.
@jessebeach: can you describe the differences between my patches and yours? I really would like to understand what went wrong there. (And I'd also like to understand why it did work on my machine … repeatably.)
Moving this to the Spark queue since it's a meta issue.
WOOHOO. Ok, apart from #1718336: Emphasis and Strong are getting a Bold icon for some reason, which we need to fix before I can tag a new Spark release, I believe this sucker is D-O-N-E! *So* exciting to see things coming together like this!
Sorry, here are the relevant commits:
Should all meta issues always live in the Spark issue queue maybe?
@Wim Leers, re: #1702248-10: [Meta] As a site builder, I would like to download a version of Spark with the WYSIWYG tools all ready to go, it was just an issue of line numbers. The changes in your original patches seemed to be 25 lines or so higher in the code than when I rebuilt them. Maybe the Aloha folks added some code and rebuilt the CDN released version of the code between when you rolled them and when I tried to apply them.
#15: hm, ok, weird. Simple line offsets have never caused patches to fail in the past for me though. Very weird. Thanks for letting me know :)
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.