Will
|
| Posted: 11/29/2005, 12:33 AM |
|
I've just bought CCS3 and am trying to figure out how best to include a WYSIWYG html editor/textarea replacement in the IDE so it's available for multiple projects. Has anyone got any pointers on how to go about creating a toolbox component or code snippet that can be reused for this purpose ? If you have, I'd appreciate it if you could let me know how you did it.
Thanks,
Will.
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 11/29/2005, 12:54 AM |
|
Maybe this would work for you: http://www.web-presentations.com/ViewSheet.asp?forum_me...5&message_id=58
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
PeterJ
Posts: 90
|
| Posted: 11/29/2005, 1:33 AM |
|
Works very well but I've not found a way of inserting an image into the new page other than as an external link viewable in another browser - yet!
Very good tool - like it
|
 |
 |
Walter Kempees
|
| Posted: 11/29/2005, 1:59 AM |
|
PeterJ
I have been using HTMLarea for a lon time outside CCS.
The funny thing regarding you picture problem is that (and don't ask me why)
sometimes you can just 'drag and drop' a picture into the WYSIWIG editor
area. It then becomes an object and can be manipulated.
It is an extensible editor, though it takes some getting used to.
Walter
PS throughout the Fora FCKeditor is being mentioned as editor of choice
'cause it can be used in a lot of CCS target languages.
Walter.
"PeterJ" <PeterJ@forum.codecharge> schreef in bericht
news:5438c20734e020@news.codecharge.com...
> Works very well but I've not found a way of inserting an image into
> the
> new page other than as an external link viewable in another browser - yet!
>
> Very good tool - like it
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Damian Hupfeld
|
| Posted: 11/30/2005, 3:23 AM |
|
I use FCK Editor - sometimes a little clumsy but its free and mostly works
well.
Damian
"Walter Kempees" <kempe819@planet.nl> wrote in message
news:dmh8qq$7ec$1@news.codecharge.com...
> PeterJ
> I have been using HTMLarea for a lon time outside CCS.
> The funny thing regarding you picture problem is that (and don't ask me
> why) sometimes you can just 'drag and drop' a picture into the WYSIWIG
> editor area. It then becomes an object and can be manipulated.
> It is an extensible editor, though it takes some getting used to.
> Walter
> PS throughout the Fora FCKeditor is being mentioned as editor of choice
> 'cause it can be used in a lot of CCS target languages.
> Walter.
>
> "PeterJ" <PeterJ@forum.codecharge> schreef in bericht
>news:5438c20734e020@news.codecharge.com...
>> Works very well but I've not found a way of inserting an image
>> into the
>> new page other than as an external link viewable in another browser -
>> yet!
>>
>> Very good tool - like it
>> ---------------------------------------
>> Sent from YesSoftware forum
>> http://forums.codecharge.com/
>>
>
>
|
|
|
 |
xbill
Posts: 35
|
| Posted: 11/30/2005, 7:31 AM |
|
I also got the innova studio editor to work. http://www.innovastudio.com/
(As well as the FCK Editor)
It is nice to have multiple editors available
so when a bug comes up - I can check if it is
the browser/environment/etc or the editor that
is causing the problem.
-bill
|
 |
 |
Will
|
| Posted: 11/30/2005, 4:51 PM |
|
Would you mind if I contacted you offline to get details on how you've included this ? I've pretty much decided that this is the one I'll be using and would appreciate some help in integrating it into CCS.
Quote xbill:
I also got the innova studio editor to work. http://www.innovastudio.com/
(As well as the FCK Editor)
It is nice to have multiple editors available
so when a bug comes up - I can check if it is
the browser/environment/etc or the editor that
is causing the problem.
-bill
|
|
|
 |
Walter Kempees
|
| Posted: 12/01/2005, 2:15 AM |
|
xbill, will
or could we all have a peek?
Walter
"Will" <Will@forum.codecharge> schreef in bericht
news:5438e4901383ec@news.codecharge.com...
> Would you mind if I contacted you offline to get details on how you've
> included
> this ? I've pretty much decided that this is the one I'll be using and
> would
> appreciate some help in integrating it into CCS.
>
> Quote xbill:
> I also got the innova studio editor to work.
> http://www.innovastudio.com/
>
> (As well as the FCK Editor)
>
> It is nice to have multiple editors available
> so when a bug comes up - I can check if it is
> the browser/environment/etc or the editor that
> is causing the problem.
>
> -bill
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
ziggetty
Posts: 20
|
| Posted: 12/01/2005, 3:04 PM |
|
also was in the fora mentioned tinymce.
have not yet implemented one. following what people are doing. have you implemented one, make it a showcase for fellow developers
found this page http://www.geniisoft.com/showcase.nsf/WebEditors with a whole bunch of webeditors (free as well as commercial).
|
 |
 |
xbill
Posts: 35
|
| Posted: 12/01/2005, 3:42 PM |
|
The main steps are to include the innova javascript file and
then use javascript to overlay the editor
on a text area.
Here are some snippets. You will have to adjust the paths
to the files depending on your installation.
-bill
HTML Header:
--------------------
<html>
<head>
<title>Articles</title>
<link rel="stylesheet" type="text/css" href="../Themes/InLine/Style.css">
<script language="javascript" src="../scripts/innovaeditor.js"></script>
</head>
<body bgcolor="#ffffff" link="#000000" alink="#000000" vlink="#000000" text="#000000" class="InLinePageBODY">
Textarea to Update:
---------------------------
<tr>
<td class="InLineDataTD"><textarea class="InLineTextarea" style="WIDTH: 606px; HEIGHT: 513px" name="a" id= "a" rows="24" cols="70">{a}</textarea></td>
</tr>
Replacement Javascript:
-----------------------------------------
<script type="text/javascript">
var oEdit1 = new InnovaEditor( "oEdit1") ;
oEdit1.width=775;
oEdit1.height=350;
oEdit1.btnPrint=true;
oEdit1.btnPasteText=true;
oEdit1.btnFlash=true;
oEdit1.btnMedia=true;
oEdit1.btnLTR=true;
oEdit1.btnRTL=true;
oEdit1.btnSpellCheck=true;
oEdit1.btnStrikethrough=true;
oEdit1.btnSuperscript=true;
oEdit1.btnSubscript=true;
oEdit1.btnClearAll=true;
oEdit1.btnSave=true;
oEdit1.btnStyles=true;
oEdit1.cmdAssetManager = "modalDialogShow('/Editor/assetmanager/assetmanager.php',640,465)";
oEdit1.REPLACE("a") ;
</script>
</body>
</html>
|
 |
 |
Will
|
| Posted: 12/03/2005, 10:55 PM |
|
Thanks a lot for the help, Bill, much appreciated.
|
|
|
 |