what's causing inline width to not be as wide as the content?
what's causing inline width to not be as wide as the content?
i assumed "responsive: true" helps with that but it seems to be doing something entirely different.
it basically makes the text harder to edit when the inline input width is 1/3 of the actual text.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
adding width:100% to "DIV.DTE_FIELD input" seems to fix it but is there a neater way than adding the attribute?
i solved it with
that.editor[table_name].editor.on('opened', (e) => {let modifier = $(e.target.modifier())modifier.find(".DTE_Field input").css("width", "100%")});not sure if ideal