Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Editing from an empty textarea
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrew K  
View profile   Translate to Translated (View Original)
 More options Sep 23 2011, 4:26 am
From: Andrew K <akasp...@gmail.com>
Date: Fri, 23 Sep 2011 01:26:33 -0700 (PDT)
Local: Fri, Sep 23 2011 4:26 am
Subject: Re: Editing from an empty textarea
Oh, well, turns out that's not the issue.  I set the mode to htmlmixed
with the empty text and that triggers a JS error which causes the
editor to not initialize properly and therefore causing the issue.

The error though is:

Error: htmlMode.startState is not a function
Source File: /codemirror/mode/htmlmixed/htmlmixed.js
Line: 51

Not setting the mode makes things work though.

On Sep 23, 3:15 am, Marijn Haverbeke <mari...@gmail.com> wrote:

> > The cursor is shown when I have content and remove it all, so that's
> > good.

> No, I mean edit the HTML to make the textarea start out empty.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.