Buzz: Questions & Answers

Paragraph Styles Removed After Updating JSON

Follow
Answered
Cameron Wills

I updated the JSON file to point to some new CSS content, now "Paragraph Styles" no longer appears in the text editor. What could have caused this?

JSON:

{
"version-info": {
"author": "Brad Marshall",
"updated": "02/08/2019"
},
"paragraphStyles": {
"study-callout": "Study Callout",
"study-callout study-callout-heading": "Study Callout Heading",
"study-callout study-callout-close": "Study Callout Closing",
"accordion": "Accordion Header",
"panel": "Accordion Panel",
"tooltip": "Tooltip",
"tooltiptext" "Tooltip Text"
}
}

Comments (1)

Sort by
Cameron Wills

Solved. In my case I was missing a colon on the last line:

"tooltiptext" "Tooltip Text"

Check your code everyone! Dreamweaver 2021 didn't report this for me.

0 Comment actions Permalink
Please sign in to leave a comment.