HTML snippet web editor

I am looking for an HTML web editor. I am NOT looking for a WYSIWYG editor. The author needs to be able to edit HTML directly, and I'm looking for features such as syntax highlighting, automatic tag completion, space formatting - things you would expect in a typical IDE. It should also be able to edit HTML snippets that are not necessarily valid HTML on their own (for example, just a table row without table tags) without puking.

Is there anything similar?

+5
source share
4 answers

markItUp!

markItUp! JavaScript- jQuery. . Html, Textile, Wiki , Markdown, BBcode .

CodeMirror

CodeMirror - JavaScript - , HTML .. , , , , .

+2

, , ACE http://ace.ajax.org/, ajax.org Mozilla Bespin.

+1

You can use Notepad ++ and configure TextFX settings to automatically end the tag and format spaces (I assume auto-indentation?).

0
source
[WebMethod(EnableSession = true)]
public void GetUpcomingEvents(string EventType, string Keyword)
{
    DataTable dt = sqlHelper.ExecuteDataTable("Sp_EventDescription", CommandType.StoredProcedure, new SqlParameter[]{
    new SqlParameter("@mode", 20),
    new SqlParameter("@EventType", EventType),
    new SqlParameter("@Keyword", string.IsNullOrEmpty(Keyword) ? null : Keyword),
    new SqlParameter("@CityId", Session["MasterCity"])
    });
    Context.Response.Clear();
    Context.Response.Write(JsonConvert.SerializeObject(dt, Formatting.Indented));
    Context.Response.Flush();
    Context.Response.End();
}
0
source

All Articles