Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppressing warnings #11

Open
AnthonyTyler27 opened this issue Aug 23, 2024 · 0 comments
Open

Suppressing warnings #11

AnthonyTyler27 opened this issue Aug 23, 2024 · 0 comments

Comments

@AnthonyTyler27
Copy link

In my code, I get warnings about attaching to non-existent format divider. I really don't even want the divider, but when I get rid of the string divider in the toolBarOptions, I get an error where it seems to be trying to attach a hander for divider to a button that doesn't exist.

Also, how do you get rid of the warnings about overwriting modules, like this:

Overwriting formats/list-container with class extends Container$1 {
}

<RichTextEditor
                   
                    content="test"
                    modules={{
                        table: {},
                        codeHighlight: true, toolbarOptions: [
                            [{ font: ['wsYaHei', 'songTi', 'serif', 'arial'] }, { size: ['12px', '14px', '18px', '36px'] }],
                            ['bold', 'italic', 'underline', 'strike'],
                            [{ list: 'ordered' }, { list: 'bullet' }, { list: 'check' }, { indent: '-1' }, { indent: '+1' }],
                            ['blockquote', 'code', 'code-block', 'link', 'image', { script: 'sub' }, { script: 'super' }, 'divider'],
                        ]
                    }}

                    getQuill={getQuill}


                />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant