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

Unable to disable COLUMNS tool from the editor #420

Open
nikhchat11 opened this issue Aug 26, 2024 · 1 comment
Open

Unable to disable COLUMNS tool from the editor #420

nikhchat11 opened this issue Aug 26, 2024 · 1 comment

Comments

@nikhchat11
Copy link

I am not able to disable the columns tool from the editor. Also in the documentation in the list of tools, columns is not mentioned. Here is a sample code

import EmailEditor from 'react-email-editor';

 <EmailEditor
            editorId="abc-123"
            onLoad={onLoad}
            options={{
              tools: {
                html: { enabled: true },
                image: { enabled: false },
                menu: { enabled: false },
                text: { enabled: false},
                heading: { enabled: false},
                columns: { enabled: false}, // tried disabling passing this
                button: { enabled: false},
                divider: { enabled: false},
              },
              tabs: {
                content: {
                  enabled: true,
                },
                blocks: {
                  enabled: true,
                },
                body: {
                  enabled: true,
                },
              },
            }}
            ref={emailEditorRef}
            onReady={onReady}
          />
@zhangfaliang
Copy link

mee to

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

4 participants
@zhangfaliang @nikhchat11 and others