Skywriter Application
Version 22.1 by Thomas Mortagne on 2011/10/28 09:19
Edit JSX and SSX using Mozilla Skywriter |
Type | XAR |
Category | |
Developed by | Jerome Velociter |
Rating | |
License | GNU Lesser General Public License 2.1 |
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