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!
Code Mirror Syntax Breaking Page
-
cpansewicz
- Forum Members

- Posts: 142
- Joined: Fri Jun 17, 2011 12:22 am
-
uniqu3
Re: Code Mirror Syntax Breaking Page
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

- Posts: 142
- Joined: Fri Jun 17, 2011 12:22 am
Re: Code Mirror Syntax Breaking Page
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
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.
I was dealing with same issue in AceEditor, but don't remember anymore what i did to fix this behavior.
-
cpansewicz
- Forum Members

- Posts: 142
- Joined: Fri Jun 17, 2011 12:22 am
Re: Code Mirror Syntax Breaking Page
Thanks. I just submitted the bug. I appreciate the input!
