tinymce / tinymce-blazor

Blazor integration
MIT License
45 stars 13 forks source link

tinymce Editor overrides textarea #82

Closed SalomonHenke closed 3 months ago

SalomonHenke commented 3 months ago

Kinda weird problem. Not entirely sure if its the tinymce blazor wrapper that has the issue. But whenever i have an input field and it initializes in a component that also contains a textarea it overrides it with itself. image

In this case the GradingComponent has a

with a textarea which gets overriden oninitialization of the Editor. image

How it looks when i add comments (and how it gets initialized if i remove the editor: image

How it looks when the editor initializes: image

SalomonHenke commented 3 months ago

Interestingly enough it also overrides other editors.

SalomonHenke commented 3 months ago

Never mind. Im an imbecile. Didn't see that the selector finds ALL instances of a selection regardless of being the parent or child or whatnot of the component.