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

how to adjust right panel width? #363

Open
qzw881130 opened this issue Oct 10, 2023 · 2 comments
Open

how to adjust right panel width? #363

qzw881130 opened this issue Oct 10, 2023 · 2 comments

Comments

@qzw881130
Copy link

i want to adjust the width of html editor box.
because, my html code is much more.
I hope that it can be full screen.

4611696935979-pic

@brunolemos
Copy link
Member

You can use the customCSS config option to tweak the editor appearance.

About the html editor, this option might help a little bit:

unlayer.init({
      ...,
      tools: {
        html: {
          properties: {
            html: {
              editor: {
                widgetParams: {
                  codeMirrorOptions: {
                    lineWrapping: false,
                  },
                },
              },
            },
          },
        },
      },
    });

@qzw881130
Copy link
Author

You can use the customCSS config option to tweak the editor appearance.

About the html editor, this option might help a little bit:

unlayer.init({
      ...,
      tools: {
        html: {
          properties: {
            html: {
              editor: {
                widgetParams: {
                  codeMirrorOptions: {
                    lineWrapping: false,
                  },
                },
              },
            },
          },
        },
      },
    });

Thank you! I will try sometime.

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

2 participants