#1682: wysiwyg wiki editor
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wiki | Version: 0.8.1
Severity: normal | Resolution:
Keywords: wysiwyg editor |
-----------------------------------+----------------------------------------
Comment (by anonymous):
thanks to alec i found now where to put the integration stuff.
installation:
1. put the plugin in a trac instance plugin dir
1. apply the patch to trac-trunk
1. restart trac
useage: double click on wiki text, e.g. double click into the main page.
i uploaded the integration demo plugin. wikiwyg-0.5.zip should be removed.
integration is done via:
{{{
$ svk diff //trac-trunk //mirror/trac-trunk
=== templates/wiki.cs
==================================================================
--- templates/wiki.cs (/trac-trunk) (revision 53)
+++ templates/wiki.cs (/mirror/trac-trunk) (revision 53)
@@ -197,7 +197,7 @@
if wiki.action == "preview" ?>
<fieldset id="preview">
<legend>Preview (<a href="#edit">skip</a>)</legend>
- <div id="wikipage" class="wikipage"><?cs var:wiki.page_html
?></div>
+ <div class="wikipage"><?cs var:wiki.page_html ?></div>
</fieldset><?cs
elif wiki.action =="collision"?>
<div class="system-message">
@@ -273,7 +273,7 @@
</form>
<?cs /if ?>
<?cs if wiki.action == "view" ?>
- <div id="wikipage" class="wikipage">
+ <div class="wikipage">
<div id="searchable"><?cs var:wiki.page_html ?></div>
</div>
<?cs if:len(wiki.attachments) ?>
}}}
the following things are not solved:
* save (not at all)
* html - wiki convert (just partially)
* image links for the buttons (are broken)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1682>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets