MyBB Community Forums
Template editor doesn't detect HTML - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Template editor doesn't detect HTML (/thread-233287.html)



Template editor doesn't detect HTML - kfakes - 2021-08-14

hi, why does my template text editor look different from my second website on the right?
How can fix this for my first website (every thing still works fine, it's just the template editor is different from the second website which is weird and makes it harder to read the code.)

why does my text editor look different from my second website on the right?
[Image: 7WOhBUV.png]


RE: Template editor doesn't detect HTML - Mostafa.Shiraali - 2021-08-14

this mean in your template is an incorrect tag that html parser can not parse html.
so for fix this ,find tag(ex : Not closed a tag)
or
not load CodeMirror library complete


RE: Template editor doesn't detect HTML - kfakes - 2021-08-15

(2021-08-14, 06:31 PM)Mostafa.Shiraali Wrote: this mean in your template is an incorrect tag that html parser can not parse html.
so for fix this ,find tag(ex : Not closed a tag)
or
not load CodeMirror library complete

EDIT:
Nevermind, I had to enable code mirroring on preferences.