Version 18.6 by Silvia Macovei on 2010/12/10 13:14
Edit JSX and SSX using Mozilla Skywriter |
Type | application |
Category | |
Developed by | Unknown |
Rating | |
License | Unknown |
Table of contents
Description
Replace code properties textearea of XWiki.JavaScriptExtension and XWiki.StyleSheetExtension with the Mozilla SkyWriter editor, when editing with the single object editor.
Prerequisites & Installation Instructions
- Copy the following snippet and append it to your HTTP Meta Information option of the Presentation section of your wiki administration.
##
## Skywriter
##
#if(($request.editor=="object" && ("$!request.classname" == 'XWiki.JavaScriptExtension' || "$!request.classname" == 'XWiki.StyleSheetExtension'))
#set($attachment="skywriter-0.9a.zip")
#set($ze = $xwiki.zipexplorer)
#set($skywriterFile = "BespinEmbedded.uncompressed.js")
#set($extensionDoc = $xwiki.getDocument("XWiki.Skywriter"))
#set($swurl = $ze.getFileLink($extensionDoc, $attachment, $skywriterFile))
<link id="bespin_base" href="${extensionDoc.getURL('download')}/skywriter-0.9a.zip/" />
<script type="text/javascript" src="$swurl"></script>
#end
## Skywriter
##
#if(($request.editor=="object" && ("$!request.classname" == 'XWiki.JavaScriptExtension' || "$!request.classname" == 'XWiki.StyleSheetExtension'))
#set($attachment="skywriter-0.9a.zip")
#set($ze = $xwiki.zipexplorer)
#set($skywriterFile = "BespinEmbedded.uncompressed.js")
#set($extensionDoc = $xwiki.getDocument("XWiki.Skywriter"))
#set($swurl = $ze.getFileLink($extensionDoc, $attachment, $skywriterFile))
<link id="bespin_base" href="${extensionDoc.getURL('download')}/skywriter-0.9a.zip/" />
<script type="text/javascript" src="$swurl"></script>
#end