Aloha on <textarea>: style="width: x; height: y;" set while they should not be set
» Manage our own textarea -> div mapping (fixes Aloha on textarea having style="width: x; height: y;" set)
Status:
Needs work
» Fixed
I worked around this problem by implementing/managing the creation + destruction of a <div> to use Aloha Editor on instead of a <textarea> ourselves. Now we're in full control. This did blow up the size of drupal.aloha.js quite a bit, though most of it would be compressed away.
Comments
Comment #1
wim leersWork-around committed: http://drupalcode.org/project/aloha.git/commit/1e6da73
Comment #2
wim leersPorted: http://drupalcode.org/project/aloha.git/commit/d457ed4
Comment #3
wim leersNeeds upstream fix or https://github.com/alohaeditor/Aloha-Editor/issues/716#issuecomment-8776650.
Comment #4
wim leersI worked around this problem by implementing/managing the creation + destruction of a
<div>to use Aloha Editor on instead of a<textarea>ourselves. Now we're in full control. This did blow up the size of drupal.aloha.js quite a bit, though most of it would be compressed away.- D8: http://drupalcode.org/project/aloha.git/commit/8acf4bb
- D7: http://drupalcode.org/project/aloha.git/commit/8f47556
EDIT: this implies I got rid of the work-around in #1. Hence: "fixed".