Code Mirror Syntax Breaking Page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cpansewicz
Forum Members
Forum Members
Posts: 142
Joined: Fri Jun 17, 2011 12:22 am

Code Mirror Syntax Breaking Page

Post by cpansewicz »

Hi,

I have never had this issue before with CodeMirror. I have a page that I have inserted a html form into. When I open the page with CodeMirror, half of the code in the page is deleted. When I open the page without any syntax editor, the code remains intact.

Would anybody have any ideas about this behavior, or maybe feel up to looking at my html code to see if there is something in the code causing this to happen?

Thanks!
uniqu3

Re: Code Mirror Syntax Breaking Page

Post by uniqu3 »

i bet CodeMirror is colapsing with <textarea> tag in your form, assuming it should close Syntax area and therefore breakign your page.
cpansewicz
Forum Members
Forum Members
Posts: 142
Joined: Fri Jun 17, 2011 12:22 am

Re: Code Mirror Syntax Breaking Page

Post by cpansewicz »

You are exactly right. It is breaking before the first <textarea></textarea>. Is there something I can do about this?
uniqu3

Re: Code Mirror Syntax Breaking Page

Post by uniqu3 »

Yes, send a Bug report http://dev.cmsmadesimple.org/bug/list/650
I was dealing with same issue in AceEditor, but don't remember anymore what i did to fix this behavior.
cpansewicz
Forum Members
Forum Members
Posts: 142
Joined: Fri Jun 17, 2011 12:22 am

Re: Code Mirror Syntax Breaking Page

Post by cpansewicz »

Thanks. I just submitted the bug. I appreciate the input!
Post Reply

Return to “Modules/Add-Ons”