Closed (fixed)
Project:
Ace Code Editor
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2022 at 13:18 UTC
Updated:
7 Sep 2026 at 20:05 UTC
Jump to comment: Most recent
Comments
Comment #2
bennos commentedSorry wrong version. It's V8.1.4
Comment #3
meeni_dhobale commentedWorking on it.
Comment #5
frobIs there a reason we don't just attach it to the nearest wrapping
divelement?Comment #6
frobYour branch doesn't have any changes. Looks like all that needs to happen is changing this line https://git.drupalcode.org/issue/ace_editor-3284429/-/blob/3284429-js-lo... to look for the first wrapping div.
I ran into this bug when trying to use the ace editor in layout builder.
Comment #8
frobComment #9
rajab natshahNeeds an updated issue fork and MR for the
2.0.xbranch.Comment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshahComment #13
rajab natshahFixed on 2.0.x: the editor attaches through the .js-form-type-textarea wrapper, and the static-context configuration read in the formatter was corrected, so both problems this issue reported are resolved.