Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
IMHO, when Aloha is used in a field on the backend (like a node form), the toolbar should show at all times rather than only on mouseover or when focused. At the very least, this should be an option somewhere.
Comment | File | Size | Author |
---|---|---|---|
#9 | insertBefore.patch | 511 bytes | Xen |
Comments
Comment #1
Wim LeersI agree! :) But Aloha Editor is not designed to be used in this way.
I'm working with the AE guys to figure out a way to do this: https://github.com/alohaeditor/Aloha-Editor/issues/717. That being said, it is most definitely a solvable problem, and IMO it is not (yet) top priority.
Comment #2
obrienmd CreditAttribution: obrienmd commentedFantastic, thanks for the information and I look forward to seeing updates on this!
Comment #3
Wim LeersComment #4
Wim LeersFWIW, https://github.com/alohaeditor/Aloha-Editor/issues/747, which will also help #1747930: contenteditable is not accessible to screen-readers, will make this significantly easier.
Comment #5
obrienmd CreditAttribution: obrienmd commentedWim, does #3 mean it will be developed for 8.x first, then backported to Spark to D7?
Comment #6
Wim Leers#5: in theory, yes, in practice it's super duper easy to keep the D7 & D8 versions in sync; the code bases are near identical.
Comment #7
Wim LeersBy now, it seems very unlikely/impossible that this will get done before feature freeze (we're waiting for upstream work to be done on this). Marking as such.
Comment #8
Wim LeersComment #9
Xen CreditAttribution: Xen commentedI've found a hack that seems to work, for those that's interested. Needs a small patch (attached) to avoid the toolbar jumping around on submit.
The plugin aloha/persistbar/lib/persistbar-plugin.js:
It needs a module like so (with risk of search and replace errors):