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

Build time takes to long even using few features #32

Open
CaioGrossi opened this issue May 10, 2022 · 0 comments
Open

Build time takes to long even using few features #32

CaioGrossi opened this issue May 10, 2022 · 0 comments

Comments

@CaioGrossi
Copy link

Hi, Im using the plugin in a project but Im having a issue: build takes to long.

My config:

  ckeditor: {
    enabled: true,
    config: {
      plugin: {
        styles: ` // styles applied to editor container `,
      },
      editor: {
        toolbar: {
          items: [
            "paragraph",
            "|",
            "bold",
            "italic",
            "fontColor",
            "fontBackgroundColor",
            "underline",
            "fontSize",
            "removeFormat",
          ],
        },
        fontColor: {
          columns: 5,
          documentColors: 10,
        },
        fontBackgroundColor: {
          columns: 5,
          documentColors: 10,
        },
        heading: {
          options: [
            {
              model: "paragraph",
              title: "Paragraph",
              class: "ck-heading_paragraph",
            },
            {
              model: "heading1",
              view: "h1",
              title: "Heading 1",
              class: "ck-heading_heading1",
            },
            {
              model: "heading2",
              view: "h2",
              title: "Heading 2",
              class: "ck-heading_heading2",
            },
            {
              model: "heading3",
              view: "h3",
              title: "Heading 3",
              class: "ck-heading_heading3",
            },
            {
              model: "heading4",
              view: "h4",
              title: "Heading 4",
              class: "ck-heading_heading4",
            },
            {
              model: "heading5",
              view: "h5",
              title: "Heading 5",
              class: "ck-heading_heading5",
            },
            {
              model: "heading6",
              view: "h6",
              title: "Heading 6",
              class: "ck-heading_heading6",
            },
            {
              model: "h1b",
              view: { name: "h1", classes: "ck-heading_h1_b" },
              title: "H1 (border)",
              class: "ck-heading_heading1",
              converterPriority: "high",
            },
            {
              model: "h2b",
              view: { name: "h2", classes: "ck-heading_h2_b" },
              title: "H2 (border)",
              class: "ck-heading_heading2",
              converterPriority: "high",
            },
            {
              model: "h3b",
              view: { name: "h3", classes: "ck-heading_h3_b" },
              title: "H3 (border)",
              class: "ck-heading_heading3",
              converterPriority: "high",
            },
            {
              model: "custom",
              view: { name: "custom", classes: "Heading 1" },
              title: "custom",
              class: "ck-heading_heading3",
              converterPriority: "high",
            },
          ],
        },
      },
    },
  },

Im using just a few features, but the build time is the same. Is there a way to fix it? Reduce the build time based on the features that Im using?

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