Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-05-13 11:43:39

Ruprect
New member
From: Copenhagen, Denmark
Registered: 2005-05-13
Posts: 3
Website

Default view - HTML source

Hi ppl,

First of all - nice to see a project based on HTMLArea - keep up the good work.

Is it possible to change the startup view to the HTML source? All i need is the ID of the toggle HTML view button and i can add the .click event myself.

My users will normally start with a blank version - and then paste html into it. So my functionality would check the contents of the text area and then render HTML if empty or WYSIWYG if it contains data.

Any suggestions??

Offline

#2 2005-05-13 13:53:36

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: Default view - HTML source

why can't he paste html in the wysiwyg view?


Niko

Offline

#3 2005-05-13 16:51:10

Ruprect
New member
From: Copenhagen, Denmark
Registered: 2005-05-13
Posts: 3
Website

Re: Default view - HTML source

niko wrote:

why can't he paste html in the wysiwyg view?

Well the HTML will be encoded - You try to Paste HTML (From Firefox Sourceview or Notepad) into the WYSIWYG view, all < and > will be converted to < and > thereby messing up the code.

Therefore I would much rather have it startup in Plaintext view.

Offline

Board footer

Powered by FluxBB