I can't automatically update the revision history for _kupu.xxxx:xxxx Please upload the file in TWiki to update the history....then it quits with:
### WysiwygPlugin installed ### Running Kupu installer... /usr/bin/env: xsltproc: No such file or directory make: *** [kupu.html] Error 127When I attempt to view the page, I get the following errors appearing within the edit window (the edit toolbar seems to load):
Software error: Can't locate Error.pm in @INC (@INC contains: c:/twiki/lib . /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl) at c:/twiki/lib/TWiki/Plugins/WysiwygPlugin/TML2HTML.pm line 27. BEGIN failed--compilation aborted at c:/twiki/lib/TWiki/Plugins/WysiwygPlugin/TML2HTML.pm line 27. For help, please send mail to the webmaster (*removed*), giving this error message and the time and date of the error. Content-type: text/html Software error: [Mon May 16 16:52:19 2005] c:\twiki\bin\view: Can't locate Error.pm in @INC (@INC contains: c:/twiki/lib . /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl) at c:/twiki/lib/TWiki/Plugins/WysiwygPlugin/TML2HTML.pm line 27. [Mon May 16 16:52:19 2005] c:\twiki\bin\view: BEGIN failed--compilation aborted at c:/twiki/lib/TWiki/Plugins/WysiwygPlugin/TML2HTML.pm line 27. Compilation failed in require at c:/twiki/lib/TWiki/Plugins/WysiwygPlugin.pm line 88. For help, please send mail to the webmaster (*removed*), giving this error message and the time and date of the error.-- RolandJones - 16 May 2005
-- PeterThoeny - 17 May 2005
Always teething troubles.
Roland, the first point; as described in the install documentation, you require xsltproc or equivalent to install Kupu.
Second point: darn - that dependency is actually totally unneccesary (I was using it during debug) - I'll remove it. You can manually delete the use Error line from HTML2TML? .pm.
Sam, I see the whitespace. Grrr. That is clearly my fault.
I have also seen the unembolden effect, I thought it was just something I had done but it seems to be a Kupu - or even a Mozilla - bug. Kupu uses execCommand('bold') to toggle bold mode, so it may well be the browser that is screwing up.
On previous revisions; it has to be you getting confused. There is absolutely no way for it to modify old revs.
Thank you both for the valuable feedback! Keep it coming!
-- CrawfordCurrie - 17 May 2005
Did some further testing of v0.05: Compare the sources of http://kupu.skyloom.com/cgi-bin/twiki/view.cgi/Sandbox/TestTopic7 (created with plain edit and using TML) and http://kupu.skyloom.com/cgi-bin/twiki/view.cgi/Sandbox/TestTopic8 (emerged after an immediate save with Kupu).
Didn't do any table testing yet, cause there are enough problems with markup like that used in the test-topic(s) above.
-- FranzJosefSilli - 19 May 2005
Did update above TestTopic8 with output of v0.06 and added some (hopefully) clarifying comments (and screenshots) to above TestTopic7.
-- FranzJosefSilli - 23 May 2005
warnings/errors in apache's error.log (v0.10)
[Thu May 26 00:12:24 2005] [error] [client 200.79.141.16] File does not exist: /home/twikizen/kupu.skyloom.com/htdocs/twiki/TWiki/SmiliesPlugin/scull.gifscull has to do with boats, not smilies -- WillNorris - 26 May 2005 Awesome work, Crawford! Just two things - Firstly, as discussed on TWikiIRC, things break when RelativeURLs are forced by changing
%PUBURLPATH% to be a relative URI, since then the <base href> becomes relative which is illegal according to the spec. Also as you note, TWiki::Plugins::WysiwygPlugin::getViewUrl() and ::parseWikiUrl() need to be tweaked.
Secondly, it would be good to make it clearer that it is necessary to unpack kupu.zip for things to work - my first impression from the installer script was that it was optional.
I suspect I'll have more feedback soon ... Cheers!
-- AdamSpiers - 01 Jun 2005
The CONVERT_SKIN setting doesn't seem to be used anywhere. Shouldn't it at least be used as the value of the skin CGI parameter in the kupu-editor <iframe> ?
-- AdamSpiers - 01 Jun 2005
I just tried out this plugin -- pretty cool. I did notice a problem with description list editing. The body of a description list item is rendered incorrectly unless each EOL has an escaped CR.
-- CarlRoth - 02 Jun 2005
I also uploaded an [[http://twiki.org/p/pub/Main/CarlRoth/]twiki-plugin-WysiwygPlugin-0.10-0.urs.1.nosrc.rpm[RPM source file]] for Fedora Core Linux.
-- CarlRoth - 02 Jun 2005
Rather, that should be a Fedora Core
SRPM file.
-- CarlRoth - 02 Jun 2005
Adam, I meant to remove CONVERT_SKIN. My initial idea was to use it to control the plugin, by ended up using other means instead. The iframe is populated using ?skin=kupu;wysiwyg_edit=1 with a view URL.
Carl, do you mean it is rendered incorrectly after the topic is saved? Or rendered incorrectly during editing?
-- CrawfordCurrie - 05 Jun 2005
Any more feedback? Please?
-- CrawfordCurrie - 07 Jun 2005
wow, I'm really encouraged to get forward with twiki since the editor greatly improved since the former kupu-plugin. one bug? I have on my twiki is that as soon I put a %COMMENT% in my post, the other page content gets multiplied while editing with kupu.
-- CedricWeber - 07 Jun 2005
ok, more feedback :-), existing attachments are not displayed in the attachment dialog (Insert reference to attachment:), except if uploaded directly before inserting them.
-- CedricWeber - 07 Jun 2005
Crawford, I hate to see you pleading for feedback, please see http://yukongis.ca/bin/view/Sandbox/RichText. Some of the problems have been noted there since may 24th, the latest public version of whizzy. I pinged you about it then in #twiki but maybe you missed it. In any case I cleaned up my descriptions so that it might be easier to understand what's what (I hope!).
btw, this whole exercise has made it really clear why a 'summarise this edit' field would be a really useful addition to twiki. For this trial, I would use it to indicate whether any given save was being triggered by kupu or normal twiki, thereby making the Diffs easier to interpret.
-- MattWilkie - 07 Jun 2005
OK, I just upload V0.11 that addresses most of the issues raised so far. Please download and finagle.
Note that a lot of issues reported apply to Kupu and the browser, rather than the WysiwygPlugin, which works to be editor agnostic. Having said that I have put a lot of work into the editor to try and address some of the more glaring issues.
-- CrawfordCurrie - 16 Jun 2005
Many thanks for your work on this Crawford, WYSIWYG saved as TML is cruical to my continued use and support of TWiki; its just too hard to convince people without it.
I could not see the demo linked to on skyloom - can that link please point to somewhere where we can quickly evaluate?
-- MartinCleaver - 16 Jun 2005
Martin - why can't you see the demo link? I just checked it and it's working OK (although newest version isn't up yet).
-- LynnwoodBrown - 16 Jun 2005
updated to v0.11
-- WillNorris - 16 Jun 2005
What's up with the perl installer script in v0.11? It looks like the file was generated incorrectly:
+ perl WysiwygPlugin_installer.pl -a install Undefined subroutine &main::check_perl_module called at WysiwygPlugin_installer.pl line 36.
The code is trying to reference 'check_perl_module' before it's defined.
-- CarlRoth - 17 Jun 2005
I appreciate that not all the bugs we're seeing belong to the plugin proper -- they're not all a reflection on your great work Crawford! However for the end user there is no way of knowing where a bug's proper home is, and they don't care. It will be useful to know which goes where though so feedback can be directed accordingly.
Todays crop at http://yukongis.ca/bin/view/Sandbox/RichTextDot11
-- MattWilkie - 17 Jun 2005
On WYSIWYG, be warned that a lot of strange problems like contents duplication may be due to mod_perl, so it is recommended to turn it off
-- ColasNahaboo - 20 Jun 2005
I recommend the demo to skyloom goes to a testing page or web on skyloom rather than to the plugin page. After all, people need to edit to test and you don't want people editing the plugin page.
-- MartinCleaver - 20 Jun 2005
Done. See http://kupu.skyloom.com/cgi-bin/twiki/view.cgi/Sandbox/WysiwygPluginDemo .
-- LynnwoodBrown - 20 Jun 2005
First of all thank you for all the effort you put in Kupu. * Continue to <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=kupu"><b>Create the new page with WYSIWYG editor</b></a> * Continue to <a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%"><b>Create the new page</b></a>the first line is mine, the second line was there (and works fine).
SKIN preference setting (which may be defined in TWiki.TWikiPreferences, Main.TWikiPreferences, WebPreferences, user topic, or topic) -- TW
edit script works.
-- CrawfordCurrie - 01 Aug 2005
Hey, great update. I've installed 0.13 and notice some things on IE6, Win2K? :
<img src="%ATTACHURLPATH%/fig1.png" alt="of river bed morphology in constricted river reach; uncertainty taken into account: future" width="302" height="241" />
<div align="right"> [[http://twiki/bin/editsection/Sandbox/TestTopic2?t=1123004891&sec=0#SECEDITBOX][<small>Edit</small>]] </div></div><div align="right"> [[http://twiki/bin/editsection/Sandbox/TestTopic2?t=1123005352&sec=0#SECEDITBOX][<small>Edit</small>]] </div>
# perl WysiwygPlugin_installer.pl Warning: TWiki::Merge is not available, some installer functions have been disabled Warning: LWP is not available, some installer functions have been disabledI want to understand what these warnings mean and if I need to be concerned before I proceed. I am attempting to install on TWiki version 01 Sep 2004 $Rev: 1742 $, Plugin API version 1.025. Any tips for me? -- AlanDayley - 23 Aug 2005 Ignore them. They relate to the automatic dependency resolution mechanism. All they mean is that you will have to resolve missing dependencies manually, instead of the script doing it for you. There is a new version, 0.15, just uploaded. This version has new icons, and a number of bugfixes (mostly for IE support). -- CrawfordCurrie - 24 Aug 2005 is it possible to upgrade from v.1.2.1 to 1.3 rc2 without problems? how? -- MichaelPauli - 24 Aug 2005 Thanks, Crawford. I have the editor installed. Myself and a couple of others are using it now before we tell everyone else it is there, though they may discover it. We have found some small issues so far but are overall very impressed. I'll make appropriate WysiwygPluginProblemReports when we have them better defined. -- AlanDayley - 24 Aug 2005 Michael, do you mean 1.3rc2 of Kupu? If so, well, I worked very hard to make sure that the Kupu release shipped with the plugin is exactly as packaged by the Kupu team, so in theory you should be able to install 1.3rc2 by simply unzipping it over the pub/_kupu directory. Having said that, I haven't tried it, so I have no idea if any of the APIs that the TWiki customisation uses have changed. All I can suggest is that you try it, and let the rest of us know if it works! -- CrawfordCurrie - 25 Aug 2005 Thanks for that great plug-in (both you and original authors). A) The Kupu links on the page point to osqom when it is in fact oscom. I'm not fixing it myself, as you may have a script that automatically updates the page.
<img style="width: 280px; height: 209px;" alt="t...instead of tags:
<img width="280" height="209" alt="t...I noticed that once my resize looks good, I could switch to the source mode, correct the code, and have it saved with the resizing parameters. Maybe this is something that you could fix on-the-fly while converting from TML to HTML ?

edit.kupu.tmpl
templates/edit.kupu.tmpl to templates/edit.gilles.tmpl
?skin=gilles on the edit URL to invoke that skin instead of ?skin=kupu.
kupu skin on the view request (to get the HTML of the topic being edited), but if that doesn't seem to be working you may have to: templates/view.kupu.tmpl to templates/view.gilles.tmpl
%TOPICLIST{" * $web.$name"}% ) after saving.
Note that the rendering of TWikiVariables in clear text is not really Wysiwyg... that aside, may I suggest
-- JosMaccabiani - 08 Sep 2005
A legend? Nay, a fable perhaps!
It's in Subversion, but isn't released yet. No-one is reporting against it, you are just seeing me saying when bugs will be fixed. Should be available today.
-- CrawfordCurrie - 09 Sep 2005
Kupu breaks Hyperlinks, e.g. %ATTACHURL%/file turns to http://.../.../%ATTACHURL%/file
Where Problem?
-- VaidotasBarzdenas - 09 Sep 2005
As it says below, PLEASE ADD BUG REPORTS TO WysiwygPluginProblemReports - and give as much information as you can, the above report does not have enough information for me to be able to comment.
0.16 is released. It fixes most of the problems reported in WysiwygPluginProblemReports. It is still Kupu 1.2.1. I have also added better support for importing HTML using the framework.
Note to downloaders: I have moved the pub/_kupu directory under pub/TWiki/WysiwygPlugin, to fit with TWiki standards. Please delete the old pub/_kupu directory.
-- CrawfordCurrie - 09 Sep 2005
Thanx for the great updates! The Plugin works quite stable for now. ---+!! Welcome to the <nop>%MAINWEB% web Congratulations, you have finished the TWiki installation. If you want to learn ..to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<style>
@import url("http://server-name/twiki/pub/TWiki/PatternSkin/layout.css");..
.. so I guess I'm doing something wrong. Only problem is, I cannot figure out what it is. I'm running a clean developbranch (rev 6680) and the WysiwygPlugin_installer.pl runs fine. HTML::Parser and HTML::Entities are in place, and the editor loads and seemingly works fine.
If I edit in IE (6.0.2) the output are compressed (no linefeeds in topic text), if I edit in Firefox (1.0.1) linefeeds are doubled.
I won't report this as a bug, because I'm sure I'm just missing the obvious here. Anyone?
-- SteffenPoulsen - 29 Sep 2005
When the edited topic is shoved back to the server, the furniture you show above is supposed to be stripped off in the plugins afterEditHandler (which also convertes the HTML back to TML). Can you show me the whole saved topic, and not just the fragment above?
-- CrawfordCurrie - 30 Sep 2005
I have attached some debug / out here: WysiWygPlugin-HTML2TML-debug_SteffenPoulsen.txt (made against beta 2). Let me know if you have any ideas.
BTW: The plugin never shows up in InstalledPlugins, I have a feeling it should?
-- SteffenPoulsen - 11 Oct 2005
kupu skin to the list of skins that shall not contain sectional edit links.
* A comma separated list of skins *NOT* to section (you'll probably want the print skin here):
* Set SKIPSKIN = print, plain, kupu
-- DanielSiegenthaler - 13 Oct 2005
Install Instructions need clarification:
"To enable the editor in one of your skins, add the following link to the skin alongside or in place of the existing 'edit' link:
Kupu
Where would this "skin" be located? I'm using the default patternskin, and can spot a bunch of files with "pattern" in the name. Does this string go into the template file, the CSS file or what?
Good technical instructions are explicit, telling the reader what to do, and where to do it. They don't assume that the reader is intimately familiar with the product.
-- TsuDhoNimh - 18 Oct 2005
The Kupu demo, at their site, allows creating table headings, selecting a grid style, etc.
|The TWiki plugin only allows me to choose number of columns and rows. Did I screw up the install, or is this the way it's supposed to work?
-- TsuDhoNimh - 18 Oct 2005
Another GPL Wysiwyg editor that is reportedly wiki-friendly: Xinha from http://xinha.python-hosting.com/
Again ... they are quite vague on the install process. Non-gurus like me need more guidance than "download and install this script".
-- TsuDhoNimh - 18 Oct 2005
Does anyone know how to make the edit window take up more of the browser window? When I go into edit mode, the bottom half of my browser window is wasted.
Great work on this plugin. It is much improved over the previous work. This is helpful to those on my team resistant to using the native TWikiML.
-- RickMach - 18 Oct 2005
Rick - Look on the various "preference" pages and try changing the window size there.
Does anyone know how to revert to an earlier revision of a page? I can view the revs, and print the revs, but I can't replace the current page with an earlier rev ... as one would need to do if the page is badly edited.
-- TsuDhoNimh - 18 Oct 2005
If you are using Dakar, there is a hack you can use to ensure new topics created by following non-existing links are created using kupu:
See Bugs:Item568
-- MartinCleaver - 02 Nov 2005
Is there any update on a version of the WysiwygPlugin that uses kupu 1.3?
-- JeffersonCowart - 10 Nov 2005
Just installed (according to instructions) and I'm facing a weird problem that seems to be related to SpeedyCgi?
If I edit and this save is appended to any prev save I've done with Kupu, even on other topics. If I touch bin/* to refresh SpeedyCgi? things work nicely once. Could not find any SpeedyCgi? references here so I'm wondering if there is something in my setup or am I the only one using it with this plugin
BTW, Cairo, Wysiwyg 0.16, Apache 1.3.33, RH3
-- OleCMeldahl - 11 Nov 2005
Jefferson; no. I never bothered, because 1.3 is just internationalisation. Ole; there are known problems with accelerators (mod_perl and speedycgi) that I think I have eliminated in the latest code (SVN 7460)
-- CrawfordCurrie - 15 Nov 2005
I'd like to be able to select the web when using the WikiWord link option so that topics from other webs can be linked. Thankyou.
-- ChrisDevine - 23 Nov 2005
Hi Crawford, any plans to publish a new version for us folks without SVN access?
-- CedricWeber - 28 Nov 2005
(Hopefully) closing in on a release date for DEVELOP, we would like to offer the WysiwygPlugin at our TWiki installation at the same time that we upgrade the installation to Dakar (and we have a need to educate the users anyway).
But I have one major headache - the WysiwygPlugin is also WhatYouGetIsNotWhatOriginallyWere (WygiNotWOW?). Editing a page like Main.WebHome (with just a few lines of somewhat advanced TML) using the WysiwygPlugin, ruins the functionality of the page.
But I had a thought: I think the way the editor handles verbatim is excellent; it seems to work without any side effects (that I can find, anyway :-)). So! Using the good old cut-n-paste concept, would it be possible to have a new tag in the editor, giving the same effect as verbatim when editing a page, but having no effect when "running" the page normally?
I.e.: A tag called something like <nowysiwygeditingherepleasethankyou> or just <TML> and </TML> (I claim no copyright, and I won't even be jealous if you think of something better, that won't clash with XHTML/TML and so on).
In the new setting, people odd enough to press the old-fashioned "Edit"-button will have no problems fencing (protecting) their TML-investment by the little tag, and the people "Composing" can happily go on without worrying what kind of functionality they might be breaking on their way. What they will see will be areas of clearly marked "Here be Tigris", and they can - while perhaps giving the areas a glance and wondering what in the world that code-style-like block actually does - easily avoid making havoc of them.
I am not sure whether this a good™ idea or not, but it would offer users like me some peace of mind on a way to (somewhat) seperate these two ways of editing - for the existing pages, most of the searches can be marked up using GlobalReplacePlugin (or else we can probably think up some jedi perl tricks for this kind of stuff :-)).
- I realize that using Set DISABLEDPLUGINS is another way of protecting the TML, but by implementing a tag like descriped I think we would be closer to achieving a best-of-both-worlds solution.
-- SteffenPoulsen - 01 Dec 2005
Steffen, nice idea. I was thinking ofg the opposite: have kupu add on save a tag <!--WYSIWYG_OK--> and have kupu only be able to edit these pages. (so you could only edit pages created by kupu or explicitely tagged so. But your idea to be able to delimit parts to be edited verbatim is really interesting.
%SEARCH% or a <form> from editing (or perhaps just make this exclude-blocks-with-tags-list a configurable setting for the plugin), etc. All I'm trying to go for, is, that the users preferring the WysiwygPlugin can't and won't hurt themself (or any twiki content), unintentionally. If they get the feeling that it's not to be relied upon, I'm afraid they won't touch it. -- SteffenPoulsen - 16 Dec 2005
<option value="Insert Twiki Variable">Insert Twiki VariableAt this section in the edit.kupu.tmpl file:
<select id="twiki-var-select">
<option value="Insert Twiki Variable">Insert Twiki Variable
%WYSIWYGPLUGIN_TAGS%
</select>
And to make it so %% does not get added if someone selects "Insert Twiki Variable" I have added:
if(name == "Insert Twiki Variable"){
elem = doc.createTextNode("");
}
under elem = doc.createTextNode('%'+name+'%'); in the TWikiVarTool? function inside the twiki\pub\TWiki\WysiwygPlugin\twikitools.js file.
I would rather make the highlighted selection jump back to "Select Twiki Variable" after the selected variable is inserted into the page but I am not sure what needs to be set to make that happen.
-- ChrisBentley - 07 Dec 2005
One thought: maybe the next generation of WYSIWYG editor should be more restrictive in what it allows to be entered where to simplify reuse of the (thus) structured content. Compare e.g. this Arbortext Contributor Demo (hint: press the fast forward button to jump over the lengthy (useless) intro).
-- FranzJosefSilli - 15 Dec 2005
I surprised myself by expressing the following paragraphs in a bug report yesterday - I don't know where it should have gone, really, in essence it's just paraphrasing the comment from above. I think I'll go for adding some bug reports for now, trying to avoid these outbursts :-/
There are lots of issues like this with wysiwyg still (for instance it removes <nop>, and other tags everywhere, has problems with nested TML inside HTML tags, eliminates/adds whitespace ad libitum etc) - I'm concerned how to avoid intimidating wysiwyg users by side-effects of the plugin. In http://twiki.org/cgi-bin/view/Plugins/WysiwygPluginDev I suggested a tag for "fencing" delicate content, and I still feel feel there's a need for "something in that direction". Not only to avoid non-TML'ers to wrec havoc in the topics - but even more so to avoid them being intimidated by it. They'll hate wysiwyg (.. and therefore TWiki) in no time, if it's unreliable. I don't mind marking up some searches and other specially crafted (H)TML if I know it'll keep the wysiwyggers out of trouble - but knowing that there's "accidents waiting to happen" shattered all around the wiki, just waiting for a wysiwygger to stop by, I'd have a hard time living with. I know this is not the place to start a discussion, but I just don't have a general feeling on which way things are headed on these kind of issues - and it bothers me. I see a two track road starting at the moment, TML'ers being even more smart, and (ldap'ed) wysiwyg'ers coming on board with a totally different expectation to how things (should) work, but now finally being able to do their stuff with little effort. I'll move this comment to WysiwygPluginDev asap - I guess I just needed a bit of attention for a moment.-- SteffenPoulsen - 04 Jan 2006 I've got the plugin installed, but it seems not to be functional. The editor layout is all screwed up. There is the main editing bar followed by several
OKand
Cancelbuttons down the center. The editor window seems to be only 200x100 and on the bottom left of the page. I did get two errors during install:
Warning: TWiki::Merge is not available, some installer functions have been disabled Warning: LWP is not available, some installer functions have been disabledI also saw:
WARNING: I cannot automatically update the local revision history for:
data/TWiki/WysiwygPlugin.txt
pub/TWiki/WysiwygPlugin/cancel.png
pub/TWiki/WysiwygPlugin/bold.png
pub/TWiki/WysiwygPlugin/new-image.png
pub/TWiki/WysiwygPlugin/table.png
pub/TWiki/WysiwygPlugin/code.png
pub/TWiki/WysiwygPlugin/definition-list.png
pub/TWiki/WysiwygPlugin/nop.png
pub/TWiki/WysiwygPlugin/inthyperlink.png
pub/TWiki/WysiwygPlugin/twikitools.js
pub/TWiki/WysiwygPlugin/outdent.png
pub/TWiki/WysiwygPlugin/exthyperlink.png
pub/TWiki/WysiwygPlugin/italic.png
pub/TWiki/WysiwygPlugin/remove.png
pub/TWiki/WysiwygPlugin/separator.png
pub/TWiki/WysiwygPlugin/screenshot.jpg
pub/TWiki/WysiwygPlugin/kupustart.js
pub/TWiki/WysiwygPlugin/ordered-list.png
pub/TWiki/WysiwygPlugin/smiley.png
pub/TWiki/WysiwygPlugin/help.png
pub/TWiki/WysiwygPlugin/vars.png
pub/TWiki/WysiwygPlugin/undo.png
pub/TWiki/WysiwygPlugin/new-attachment.png
pub/TWiki/WysiwygPlugin/indent.png
pub/TWiki/WysiwygPlugin/kuputwiki.css
pub/TWiki/WysiwygPlugin/save.png
pub/TWiki/WysiwygPlugin/redo.png
pub/TWiki/WysiwygPlugin/unordered-list.png
pub/TWiki/WysiwygPlugin/verbatim-watermark.png
pub/TWiki/WysiwygPlugin/verbatim.png
pub/TWiki/WysiwygPlugin/view-source.png
pub/TWiki/WysiwygPlugin/text-color.png
pub/TWiki/WysiwygPlugin/kupuinit.js
Any thoughts...
-- MikeSeibert - 10 Jan 2006
Never mind I re-ran the install script and it seems to be working at a basic level. The one question I still have is making kupu the defualt editor. I have EDIT_SKIN = kupu set in TWikiPreferences? since I want it to be global, but it still takes me to the defualt editor when I click the edit link.
-- MikeSeibert - 10 Jan 2006
Note; please don't report problems here; report them in Bugs web. I only read this topic once a month or so, but I read Bugs web every day.
-- CrawfordCurrie - 13 Jan 2006
I've got a similar problem as Mike has. I already installed the Plugin but it is not functional und looks heavily damaged.
I made two screens, here they are:Does anyone know what to do?
-- PeterShawn - 17 Jan 2006 Check the owner and rights of all twiki files. After correcting this disappeared on my installation -- RainerStengele - 19 Jan 2006 I cannot get the table insert to work. Any ideas? It just doesn't do anything! -- RainerStengele - 19 Jan 2006 Rainer, that looks very much like JavaScript? gave up halfway through loading. Try running with a javascript debugger installed. I can't tell what version of the plugin you are running to say more. -- CrawfordCurrie - 25 Jan 2006 Hi! What version is the download in WysiswygPlugin? ? It seems that with that version there comments are still stripped... this is very bad for me as we are keeping important data in comments... Unfortunately I cannot download from svn here (firewall)... so would anybody be so kind to provide me with a working plugin package? -- PeterLohmann - 25 Jan 2006 Hello. I'm a technical writer with an English degree; I have no programming experience so please excuse my lack of knowledge. I just installed TWiki this past Monday, the 23rd, as a test system. My flavor of TWiki consists of Apache 1.3.34, Cygwin 1.5.18, and TWiki20040904 running on a WinXP Pro machine with IE6. I downloaded the WYSIWYG plugin on January 24, 2006 at approximately 04:25pm EST. I'm not sure what version that is, but hopefully this information helps. Today (the 25th), I installed the plugin. To do this, I launched Cygwin and successfully unzipped the WysiwygPlugin.zip file. I attempted to run WysiwygPlugin_installer, but couldn't figure out how so I just launched CPAN from Cygwin and did a "cpan> install HTML::Parser" and then "cpan> install HTML::Entities". I then verified that they were installed and up to date. Next, I opened view.pattern.tmpl (Set SKIN = pattern is what's configured in my TWiki.TWikiPreferences) and inserted a:
<a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=kupu">WYSIWYG</a>Edit<a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Attach</a>
The undefinedundefined error was fixed a long time ago. Download and install the latest release.
-- CrawfordCurrie - 04 Apr 2006
I can't get this to work.
I just installed the Plugin version of April-4. HTML::Parser (includes Entities) and HTML::Tagset are installed. I ran the Wysiwyg_installer.pl and everything ran ok and the WYSIWYG button now appears as expected on teh bottom of each topic. (The URL has ?cover=kupu appended for this button.)
When I click on the buton I see a page with a line of icons on the top. There are alot of blank lines followed by a 'OK' and 'Cancel' buttons. Again more blank lines and more 'OK' and 'Cancel' buttons. At the very bottom of teh page I see a tiny window containing the contents of the topic. I am unable edit the contents.
Please can you help?
-- PeterJones - 05 Apr 2006
My above problem was linked with file permissions. After the installation of the plugin some of the _kupu files were readonly by the owner and so the apache server complained that it could not read them. I changed the permissions and the editor works. (except for inserting a Twiki icon!)
Can you clarify: The Dakar release notes states that the WYSIWYG is a new feature (http://twiki.org/cgi-bin/view/Codev/DownloadTWiki). The feature does not seem to be available out of the box after the installation of version4. After installation of Dakar one has to install this Plugin.
-- PeterJones - 06 Apr 2006
Peter, it is available out of the box, but you have to enable it in configure
-- JosMaccabiani - 06 Apr 2006
Peter, it sounds like your browser can't load the CSS files it needs. Use "view source" in the browser to look at the source of the page; you will find several places where there are lines saying @import url(...). Check that the resources referenced in these statements can be accessed by the browser (copy whatever is in the brackets and paste it into the URL bar). Also check the javascript console for warnings.
Oh, and make sure Javascript is enabled in the browser!
-- CrawfordCurrie - 10 Apr 2006
All works fine now except the 'Insert TWiki Icon' feature. Clicking on this does nothing but insert a line (or perhaps its a very small box) at the top of the edit page. What should expect to see when clicking on this feature?
-- PeterJones - 11 May 2006
It should generate a pop-up with all the icons you have defined in your settings. Check that your plugin topic includes a definition for the icons (it's described in the topic)
-- CrawfordCurrie - 12 May 2006
Is there a reason that kupu's spellcheck is disabled in the plugin? It didn't take too much work to enable... though I re-wrote the "spellcheck.cgi" as a simple wrapper around Text::Aspell soas to not require python. If there's any interest I can post it...
-- KenGoldenberg - 17 Feb 2006
Ken, please post your hack. I would like to enable spell check in Kupu.
-- AlokNarula - 13 May 2006
It looks like someone was editing the WysiwygPlugin topic with the WYSIWYG editor, some tables, image tags and other HTML tags changed. It would be good to be able to control the WYSIWYG editor links on a per page basis. For example, all extension topics on TWiki.org would have WYSIWYG editing disabled.
-- PeterThoeny - 06 Jun 2006
I don't understand. Why shouldn't someone be able to edit this page or any other with the WysiwygPlugin? (Unless, of course, one is running Safari, in which case it just doesn't load.)
-- MeredithLesly - 06 Jun 2006
The use of WysiwygPlugin does introduce more noise in diffs than we're used to, as different browsers render output differently and so on and so forth.
For disabling wysiwyg editing on a single topic you can use
-- SteffenPoulsen - 06 Jun 2006
That makes sense. I do wish Peter had been clear about why he wanted to disable it, since the comment gave no information.
I still don't understand why TWiki has a beta plugin as part of its standard distribution, but that's another issue altogether.
-- MeredithLesly - 06 Jun 2006
Small point -the WysiwygPlugin_installer.pl should probably start with a #!/usr/bin/perl shebang line
-- PaschalNee - 28 Jun 2006
WysiwygPlugin_installer.pl also seems to assume that the pub directory is in the main twiki directory. Pub can be located elsewhere from the /configure script. Could the WysiwygPlugin_installer.pl read the location from the config?
-- PaschalNee - 28 Jun 2006
Revisiting (SteffenPoulsen? - 01 Dec 2005) re <TML> idea.
As our Twiki is getting more use, I am seeing problems related to embedded clever TML, broken by the trip through the WYSIWYG editor. (Example: standard "Recently change topics" %SEARCH% TML on WebHome pages).
I have implemented an excaping work around using the <TML> tags to safely protect clever TML from WYSIWYG mangling.
I am not sure what is the Current version of this plugin. I would be happy to post the diffs.
-- CraigMeyer - 05 Jul 2006
I found that the wysiwyg editor ignores the templatetopic cgi parameter, which kinda annoyed me so i hacked in support for the parameter in the template and the plugin:
* wysiwyg_templatetopic.patch: Patch for templatetopic support.
-- KoenMartens - 24 Jul 2006
Hi, I'm having a lot of trouble getting the Wysiwyg plugin working despite repeated attempts. Is this the right place to ask for help? thanks!
-- MattBWood - 16 Aug 2006
You can ask a question in the Support, or drop by in TWikiIRC.
-- PeterThoeny - 16 Aug 2006
I'd submit a bug, but my account doesn't seem to be working on http://develop.twiki.org/ just yet. I'll try again tomorrow. In the meantime, the edit.kupu.tmpl shipped in version 11539 has some strange syntax in its kupu-editor iframe's src URL. %OWEB% and %OTOPIC% don't exist, and the URL uses semicolons to separate CGI parameters instead of ampersands. There's also a spurious foo=bar assignment. The plugin works fine for me after I apply the patch I attached below.
-- RobertAu - 27 Sep 2006
The HTTP spec specifies either ; or & to separate parameters. I use ; by preference because it doesn't require HTML encoding.
The OWEB and OTOPIC came from Koen Martens patch for template topic support. It worked fine for me; but I'll check again. Unless .... what TWiki version are you using?
-- CrawfordCurrie - 28 Sep 2006
Sorry about the lack of detail. I'm running TWiki 4.0.4-3 on Apache 2.0.52, and hadn't applied Koen's patch yet. I've applied the patch, and OWEB and OTOPIC work fine now. The semicolons still don't work for me, and I'm not sure why; CGI.pm is up to date and supports splitting on semicolons, for example. I'll keep poking around. At any rate, does the foo=bar assignment from Koen's patch do anything?
-- RobertAu - 29 Sep 2006
I had a problem where Wysiwyg didn't work but instead displayed "Can't locate HTMLpath in @INC" etc. notification. I installed the Perl HTML-parser and the problem was solved, it works now. The problem is that the parser is not distributed automatically along Perl. Didn't see any mentioning anywhere on this so I added this note here.
-- MikkoLaakso - 27 Oct 2006
I would like to revive the idea of pasting images from clipboard. Has anyone found a solution for it? Thanks,
-- MiloValenzuela - 21 Nov 2006
Milo, did you look at the JavaPasteAddOn ?
-- KeithHelfrich - 23 Nov 2006
Yeah, however it remains non-functional and the plugin seems to be looking for an owner. Unfortunately I'm not a java/perl programmer.
-- MiloValenzuela - 27 Nov 2006
Has anyone compared the WYSIWYG with XinhaEditorPlugin ?
-- MiloValenzuela - 27 Nov 2006
You mean "compared Kupu to Xinha". Kupu just happens to be the default editor used by WysiwygPlugin. Some day I will decouple them.
-- CrawfordCurrie - 28 Nov 2006