tinymce-docs icon indicating copy to clipboard operation
tinymce-docs copied to clipboard

I can't use option 'toc_header' in plugin Table of Contents

Open huadaica1990 opened this issue 4 years ago • 1 comments

I can try option toc_header, but nothing happen, this is image. image

huadaica1990 avatar Mar 15 '21 03:03 huadaica1990

Hi @huadaica1990,

The toc_header setting require a h1-h6 element (see plugins/toc/main/ts/api/Settings.ts#L14). I see that the docs for toc_header don't mention this and is using 'div' as an example so moving this to tinymce/tinymce-docs as a docs issue.

SimonFc avatar Mar 15 '21 13:03 SimonFc