Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
3.97k stars 606 forks source link

Bug on HTML mode #1381

Closed rainerborene closed 1 year ago

rainerborene commented 1 year ago

bug

Alex-D commented 1 year ago

Thank you, will be fixed soon :)

rainerborene commented 1 year ago

Bug still there. I also noticed that in normal mode the editor-box does not fit the entire container height. That means if you click on the bottom (which is an empty space) of the editor it does not focus the input field. Not sure if I was clear enough. Let me know. Thanks a lot.

Screenshot 2023-02-28 at 11-22-58 Trumbowyg - A lightweight WYSIWYG editor by Alex-D _ Alexandre Demode

Alex-D commented 1 year ago

Oh :( I have fixed it in 2.27.1 bug broke it in 2.27.2 -_- A flex: 1; is missing on .trumbowyg-box.trumbowyg-editor-hidden .trumbowyg-textarea

Alex-D commented 1 year ago

Fixed!

Thank you :)

rainerborene commented 1 year ago

Just one more thing left to fix it. The white box (div with class trumbowyg-editor trumbowyg-reset-css) should have height 100%. bug_tbw

Alex-D commented 1 year ago

Cannot reproduce: https://alex-d.github.io/Trumbowyg/demos/#core-default

rainerborene commented 1 year ago

@Alex-D First erase all the content inside the editor then try to click inside at the bottom position. It won't focus it.

Alex-D commented 1 year ago

Yes I see it, thank you :)

That's strange, I have that in CSS:

.trumbowyg-box .trumbowyg-editor {
    min-height: 100%;
}