Table of Contents Plus Conflict
-
Hello all,
I discovered that a conflict between this plugin ant another one called “Table of Contents Plus”.
I am sharing my workaround in case others have a similar issue in the future.
The TOC Plus plugin automatically inserts a table of contents in the blog post.
My blog post cannot be published as an Apple News article because each table of contents element gets rejected. For instance:
[body] => {“errors”:[{“code”:”INVALID_DOCUMENT”,”keyPath”:[“components”,2],”value”:”#What_is_Grammarly”,”message”:”Invalid URL: #What_is_Grammarly”},{“code”:”INVALID_DOCUMENT”,”keyPath”:[“components”,2],”value”:”#What_Makes_Grammarly_Different”,”message”:”Invalid URL: #What_Makes_Grammarly_Different”},{“code”:”INVALID_DOCUMENT”,”keyPath”:
The workaround:
I inserted the [no_toc] shortcode in the blog post to disable the TOC. I then successfully published the article. I revisited my post and re-enabled the TOC.
Not elegant, but I found the issue …
- The topic ‘Table of Contents Plus Conflict’ is closed to new replies.