Edgewall Software
Home
Trac
Trac Hacks
Genshi
Babel
Bitten
Home
Download
Documentation
Mailing Lists
License
FAQ
Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
+1
Start Page
Index
History
Editing WysiWyg
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
= what you see is what you get, isn't it? = As easy as it is for some people, for others editing text in wiki syntax is an entrance barrier for using wikis. Therefore, it should be also possible to edit texts like you see them afterwards in a "what you see is what you get" manner. Editors include: * [http://fckeditor.net/ fckeditor], used in [http://moinmoin.wikiwikiweb.de moinmoin]. * [http://wikiwyg.net/ wikiwyg], used in [http://kwiki.org/ kwiki]. * [http://tinymce.moxiecode.com/ tinymce], as used in a [th:wiki:TinyMceWikiPlugin trac plugin], but it does not write trac wiki syntax. * [http://dojotoolkit.org/ dojo editor], used e.g. for commercial jot wiki. * [http://developer.yahoo.com/yui/examples/editor/flickr_editor.html YUI Editor] Here with a Flikr example to add custom content i.e. Tickets, ChangeSets etc. ? = wikiwyg integration = the integration could be done the following way: * provide a mechanism to identify the wiki text in <div> areas. currently a name or id seems to be missing. * include a template into every page which loads the library if it is installed. * extend the wikiwyg library by a trac class (a single js file). * copy the wikiwyg library somewhere, it consists of: * js * css * images * a htc file (html component) to make it also work in iexplore, not just in gecko the goal is to double click on a wiki area or page, then get a wysiwyg edit field with a few buttons, a save and a cancel, a field for the name, a comment and maybe a "tiny change" checkbox. = issues = there are a few things unclear: * what <div> areas to query, areas are: * wiki pages (later maybe sections) * description of ticket (for those who have the right) * milestones * should it be on double click an area or with a button * if it is on double click in wiki pages, milestones, tickets, how do you reach this with a plugin? = implementation = == trials == See #1682 for a sketch of the implementation. == tips == * [http://www.bazon.net/mishoo/rpc.epl javascript rpc] from the author of htmlarea.
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.