Open NicHaley opened 2 months ago
Thanks for reporting, I think you're right. The solution for this would be to add a custom classname to each editor and make the css that's inserted by the placeholder plugin is scoped to the specific editor. Would welcome a PR that solves this!
Describe the bug The new
placeholders
option has a bug where when using more than one editor, the placeholder will be overwritten by the last editor instance.For additional context on my use-case, I have multiple editors to support a different editing experience between "Title" and "Content" sections of a page (similar to notion).
To Reproduce Create two editors. Ex.
The placeholder for both will be the default placeholder text.
Expectation: The title editor should have
Untitled
for its placeholderMisc