Re: configuring tiny_mce.. solution
Re: configuring tiny_mce.. solution
- Subject: Re: configuring tiny_mce.. solution
- From: David Holt <email@hidden>
- Date: Fri, 02 Dec 2011 09:42:06 -0800
There's an example included with SimpleBlog (might be the same as David's below).
https://github.com/daveeed/SimpleBlog/blob/master/SimpleBlog/Resources/user.d2wmodel.txt
On 2011-12-02, at 9:35 AM, James Cicenia wrote:
> FWIW
>
> I could only find some reference to richTexMode here:
>
> http://aurealis.de/webobjects/wonder/api/html/classer_1_1directtoweb_1_1components_1_1strings_1_1_e_r_d_edit_h_t_m_l.html
>
> and it was private.
>
> So I lucked out by making your rule/key point to richTextMode/key. And it worked!
>
> However, what and where are these TextModes officially documented?
>
> - James
>
>
>
> On Dec 2, 2011, at 11:08 AM, David LeBer wrote:
>
>> Yeah,
>>
>> Take a look at the rules defining:
>>
>> richTextMode
>> simpleRichTextMode
>> complexRichTextMode
>>
>> In ERDirectToWeb
>>
>> Here is another example:
>>
>> 0 : *true* => cmsRichTextMode = "mode : 'textareas', theme: 'advanced', plugins: 'paste', theme_advanced_buttons1: 'pastetext,pasteword,bold,italic,formatselect,justifyleft,justifycenter,justifyright,bullist,numlist,undo,redo,link,unlink,code', theme_advanced_buttons2 : '', theme_advanced_buttons3 : '', theme_advanced_toolbar_location : 'top', theme_advanced_toolbar_align : 'left', theme_advanced_statusbar_location : 'bottom', theme_advanced_resizing : true" [com.webobjects.directtoweb.Assignment]
>>
>> --
>> David LeBer
>> Codeferous Software
>>
>> On 2011-12-02, at 11:52 AM, James Cicenia wrote:
>>
>>> Can I add more things to tiny_mce?
>>> Font color , size?
>>>
>>> I am using wonder and have this set in my properties
>>> er.directtoweb.ERDEditHTML.tinyMceSourceFileName = tiny_mce/tiny_mce.js
>>>
>>> do I do it in a rule?
>>>
>>> Thanks
>>> James
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden