Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

RichTextArea components conflicts with each other #908

@deanex

Description

@deanex

Rendering multiple RichTextArea components, even on different opened tabs, lead to error:
image.png

Dev notes

Every time same id is used for custom quill toolbar

export const modules = {
  toolbar: {
    container: "#toolbar",
  },
  history: {
    delay: 500,
    maxStack: 100,
    userOnly: true
  }
};

export const RichTextAreaToolbar = () =>
{
  const intl = useIntl();
  return (
    <div id="toolbar">
    <span className="ql-formats">
      <select className="ql-header" defaultValue="5">
// ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions