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

Cannot remove bold from TOC style when adopted from heading #1369

Open
MLD5000 opened this issue Jan 9, 2022 · 1 comment
Open

Cannot remove bold from TOC style when adopted from heading #1369

MLD5000 opened this issue Jan 9, 2022 · 1 comment

Comments

@MLD5000
Copy link
Contributor

MLD5000 commented Jan 9, 2022

I'm using typical headings in specific paragraphs to create the Table of Contents entries. The TOC entries adopt the style of the associated heading/paragraph.

The paragraphs/headings I'm using have bolded text, which is propagated to the TOC - I have tried to remove the bold styling from the TOC but it doesn't seem to work:

paragraphStyles: [
          {
            id: "TOC1",
            name: "toc 1",
            basedOn: "Normal",
            next: "Normal",
            paragraph: {
              spacing: {
                line: 280,
              },
            },
            run: {
              size: 22,
              bold: false,
            },
          },
         ...otherStyles
        ]

The above styling config seems to work for everything except removing bolded text.

Is there another way to do this, is my implementation wrong, or this a bug?

@Pattriarch
Copy link

Same issue...

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