<!-- tinyMCE -->
<webobject name = "tinyMCE" />
<webobject name = "tinyMCEInit"/>
<!--END tinyMCE -->
</head>
the WOD :
tinyMCE : WOJavaScript {
scriptFile = "tiny_mce/tiny_mce.js";
}
tinyMCEInit : WOJavaScript {
scriptFile = "tiny_mce/tinyMCEInit.js";
}
I create init file :
tinyMCE.init({
mode:"textareas",
width:"100%",
editor_selector:"advancedEditor",
theme:"advanced",
relative_urls:true,// Needed for anchors
convert_urls:false,// Needed for images
remove_script_host:true,// Needed for images
theme_advanced_source_editor_wrap:true,
apply_source_formatting:true,
plugins:"safari,contextmenu,directionality,table,save,advhr,advimage,advlink,preview,style,fullscreen",
theme_advanced_toolbar_location:"top",
theme_advanced_toolbar_align:"left",
theme_advanced_buttons1:"bold,italic,underline,forecolor,backcolor,styleprops,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2:"image,table,link,unlink,anchor,advhr,charmap,pasteword,separator,bullist,numlist,indent,outdent,separator,sub,sup,separator,ltr,rtl,separator,removeformat,code,undo,redo,fullscreen",
theme_advanced_buttons3:"",
extended_valid_elements:"*[*]",
auto_cleanup_word:true,
convert_newlines_to_brs:false,
force_p_newlines:true,
force_br_newlines:false,
setupcontent_callback:"myCustomSetupContent",
language:"fr"
});
So when I want to have rich text I use :
<webobject name = "formMsg" />
---
formMsg : WOText{
name = "message";
value = annoCtrl.message;
cols = 80;
rows = 20;
}
Thanks for your help
Envoyé depuis iCloud
I see we laugh very well here. Thank you all for ideas you sent me. I will test them on Monday at the office
Envoyé de mon iPhone
Le 16 sept. 2011 à 20:56, Chuck Hill <[email protected]> a écrit :
>
> On 2011-09-16, at 11:54 AM, Pascal Robert wrote:
>
>>
>> Le 2011-09-16 à 14:46, Ramsey Gurley a écrit :
>>
>>>
>>> On Sep 16, 2011, at 10:00 AM, [email protected] wrote:
>>>
>>>> Hi Raymond,
>>>>
>>>> You'll get a better response from Pascal if you call him by his first name... Pascal.
>>>>
>>>> Call him "Amazing" call him "Cool" but please... please do not call him "Rob".
>>>>
>>>
>>> Although, sometimes he goes by the name Elvis
>>
>> I will regret it, but anyway:
>>
>> http://a7.sphotos.ak.fbcdn.net/photos-ak-snc1/v2133/6/38/654360977/n654360977_1453909_5007.jpg
>
> That is one burning, burning hunk of love. :-P
>
>
> --
> Chuck Hill Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
