Opened 18 years ago
Closed 11 years ago
#593 closed New Feature (fixed)
Start the editor in Source mode
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | SF | Cc: | Alfonso Martínez de Lizarrondo, tallyce@…, ytztech@…, Frederico Caldeira Knabben, olaa81@… |
Description
How would I start the editor in the HTML source mode instead of the WYSIWIG mode?
Attachments (2)
Change History (11)
comment:1 Changed 18 years ago by
Cc: | Alfonso Martínez de Lizarrondo tallyce@… ytztech@… Frederico Caldeira Knabben added |
---|---|
Owner: | changed from Alfonso Martínez de Lizarrondo to nobody |
comment:2 Changed 18 years ago by
Reporter: | changed from Martin Kou to anonymous |
---|
comment:3 Changed 18 years ago by
Type: | Bug → New Feature |
---|
comment:4 Changed 17 years ago by
Owner: | nobody deleted |
---|
comment:5 Changed 17 years ago by
Keywords: | Confirmed added |
---|
comment:6 Changed 17 years ago by
Milestone: | → FCKeditor 2.7 |
---|
Changed 17 years ago by
Attachment: | 593_Proposal.patch added |
---|
First patch proposal. Not intended to be the final solution.
comment:7 Changed 16 years ago by
Cc: | olaa81@… added |
---|
Are there any news on when this feature will be included?
comment:8 Changed 16 years ago by
I tested the proposal patch on 2.6.4, and modified it a bit to make it work. I've tested it on Firefox, IE, Opera and Chrome. It seems to be working well but I'm not sure it's suitable for a final solution.
comment:9 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
https://sourceforge.net/tracker/index.php?func=detail&aid=1294774&group_id=75348&atid=543656 have been marked as dup of this bug
Moved from SF. Original poster: alfonsoml
Has this been implemented? I still can't see anything in the API that allows it?
Moved from SF. Original poster: tallyce
The editor can be started in source mode using the following code (although this doesn't truly avoid starting in WYSIWYG, just the end result is source mode):
The FCKeditor_OnComplete function is executed once the editor has loaded. Outside of using this hack in your pages to force the editor to switch on startup, the current editor doesn't support a textmode option by default.
The biggest problem with this scenario is when Gecko or IE "massages" the underlying HTML for purposes not explained by anyone. I know that some fixes for these events already exist in FCKeditor, but it would still be nice to have this function implemented so that the IFRAME initialized with the source active instead of the WYSIWYG view.
Moved from SF. Original poster: ytztech
It�s not possible in the actual version. I�ll manage to include it on future versions.
Best regards, FredCK
Moved from SF. Original poster: fredck