After the change from using a textarea to a div, the content isn't run thrugh the plugins makeClean functions, causing editing markup to end up in the content.
I've filed an issue upstream: https://github.com/alohaeditor/Aloha-Editor/issues/772
The attached patch is a quick hack workaround, so Aloha.module isn't rendered useless until it's fixed upstream.
(What's the preferred status for "waiting for upstream"?)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | aloha-makeClean-1816276-3.patch | 761 bytes | xen |
| aloha-makeClean.patch | 656 bytes | xen |
Comments
Comment #1
wim leersThanks! :)
The component is correct, the status: not sure. Let's give them 48 hours to merge it upstream, then I'll do another build of Aloha. If by that time they haven't merged it yet, then I'll commit your work-around.
Comment #2
wim leersP.S.: your work-around should link to this issue specifically, with a "@todo: work-around …" message, so we don't forget to get rid of it.
Comment #3
xen commentedHeh, create the hack, create the issue, update the hack, attach the patch. A bit back and forth. :-)
New patch attached.
Anyway, seems that upstream thinks we should use Ephemera instead. If that works, we can close this one. Guess I'm the only one using makeClean at the moment?
Comment #4
wim leersephemera is brand-spanking-new :) It's superior to what was there before. If you sign the Aloha CLA (Contributor License Agreement), then you'll end up on the mailing list, where this was announced a few weeks ago.
Comment #5
xen commentedIt does seem rather neat, but is it in aloha.module, or when will we see it?
Comment #6
wim leersaloha.module has it; the latest alpha contains 0.22.1; the dev snapshot contains an even newer version.