tinymce uses autotoc so make sure pattern.tinymce.less includes pattern.autotoc.less