Vincent Massol wrote:
> On Dec 29, 2008, at 10:17 AM, Anca Paula Luca wrote:
> 
>> ludovic (SVN) wrote:
>>> Author: ludovic
>>> Date: 2008-12-29 10:10:55 +0100 (Mon, 29 Dec 2008)
>>> New Revision: 14946
>>>
>>> Modified:
>>>   platform/web/trunk/standard/src/main/webapp/templates/ 
>>> editwysiwygnew.vm
>>> Log:
>>> XWIKI-3046 GWT Editor SyncPlugin: correct loading of initial  
>>> content supporting images. Added a reset sync action
>>>
>>> Modified: platform/web/trunk/standard/src/main/webapp/templates/ 
>>> editwysiwygnew.vm
>>> ===================================================================
>>> --- platform/web/trunk/standard/src/main/webapp/templates/ 
>>> editwysiwygnew.vm   2008-12-29 09:10:38 UTC (rev 14945)
>>> +++ platform/web/trunk/standard/src/main/webapp/templates/ 
>>> editwysiwygnew.vm   2008-12-29 09:10:55 UTC (rev 14946)
>>> @@ -47,11 +47,16 @@
>>>       hookId: 'content',
>>> #if($request.sync=="1")
>>>       syncPage: '$doc.fullName',
>>> +      plugins: 'separator text valign list indent undo format  
>>> symbol link image table sync',
>> Ludovic,
>> is the sync plugin ready to be activated by default?
> 
> I hope it's not activated by default on the 1.7 branch! (haven't  
> checked)

it's only if request.sync is set. My bad, should read the commits closer.

Happy coding,
Anca Luca

> 
> Thanks
> -Vincent
> 
>> Happy coding,
>> Anca Luca
>>
>>> +      inputURL: "${request.contextPath}/ 
>>> com.xpn.xwiki.wysiwyg.Wysiwyg/empty.html",
>>> + #if($request.reset=="1")
>>> +      syncReset: 1,
>>> + #end
>>> #else
>>>       inputURL: "${tdoc.getExternalURL("view",  
>>> "xpage=wysiwyginput&key=$wysiwygInputKey")}",
>>> +      plugins: 'separator text valign list indent undo format  
>>> symbol link image table',
>>> #end
>>>       syntax: "$doc.syntaxId",
>>> -      plugins: 'separator text valign list indent undo format  
>>> symbol link image table',
>>>       toolbar: 'bold italic underline strikethrough | subscript  
>>> superscript | unorderedlist orderedlist | outdent indent | undo  
>>> redo | format | hr symbol | link unlink | image | inserttable  
>>> deletetable | insertrowbefore insertrowafter deleterow |  
>>> insertcolbefore insertcolafter deletecol',
>>>       space: '${doc.space}',
>>>       page: '${doc.name}',
>>>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to