create new tag
, view all tags

WikiwygContribDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on WikiwygContrib contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on WikiwygContrib

-- SvenDowideit - 14 Sep 2006

I've uploaded a new package - there was a javascript file missing from the MANIFEST.

-- SvenDowideit - 02 Dec 2006

Sven, one confusing thing: the contrib depends on the plugin. Shouldn't it be the other way around? Something is not clear in the write-up.

-- ThomasWeigert - 02 Dec 2006

Must be unclear frown I'll think about how to reword it.

However, WikiwygContrib uses WisiwygPlugin to convert HTML into TML. So WikiwygContrib depends on the WysiwygPlugin.

In essence, I used WysiwygPlugin's code as the generic engine on top of which I added the Wikiwyg Javascript as a 'personality'. Crawford has recently done the same, by removing kupu from WysiwygPlugin, and making it a KupuContrib 'presonality' too.

Thats reuse baby smile

-- SvenDowideit - 02 Dec 2006

Yes, but in general contribs do not rely on plugins but provide code level functionality for plugins to reuse. Not sure whether it is wise to turn that around. Note that you still bring in all the tags from the plugin; contribs generally don't define tags. Just reusable functions.

-- ThomasWeigert - 02 Dec 2006

Maybe the part of the WysiwygPlugin implementing the TML <--> HTML roundtrip should actually be named WysiwygContrib, while the part using Kupu as Wysiwyg editor would replace the original KupuPlugin, so the WikiwygPlugin could take advantage of the WysiwygContrib originally introduced as WysiwygPlugin. Well, maybe that's just finickiness. wink Important is: TWiki actually supports several mechanisms to edit content with rich formatting.

-- FranzJosefSilli - 03 Dec 2006

No. The WysiwygPlugin is a plugin - it defines plugin handlers, registers tags, and observes the Plugins API. It is a plugin. It works quite happily without a personality module (e.g. it could be used to import HTML pasted into the textarea, if you wanted to). The KupuContrib and WikiwygContrib are personality modules that only contain Javascript, and leverage the plugin for their own purposes. The are not add-ons (they don't add any new functions to TWiki) nor are they TWikiApplications. Of anything they are closest to Skins, but to avoid confusion with the full L&F a skin provides, we chose to call them Contribs.

-- CrawfordCurrie - 03 Dec 2006

Not sure whether this is the right place...

As described in WikiwygContribEditorNotWorking I'm unable to get the contrib working. Is this a bug or a configuration error?

-- CarloSchulz - 13 Dec 2006

yes, it is smile very strange - It still works for me, but I'm using Debian and Firefox 2.0

can you look in the Javascript debugger and tell me what errors you see there?

OK, I've just tested it on Mozilla 1.7 and Firefox 1.5.9 on windows XP, and it works there too.

Carlo, can you please take a look at your javascript debugger and tell me what you are getting?

see Bugs:Item3614

-- SvenDowideit - 12 Feb 2007

ok, I added some comments to Bugs:Item3614

It looks like the problem does not depend on the FF versions as I it's completly the same with FF

-- CarloSchulz - 20 Feb 2007

Well, the latest published installation opens (probably) properly but there is no toolbar, just a bunch of broken image links, like:


Note, that the installation has several files under pub like h1.png, h2.png, etc.

-- RichardNemec - 26 Feb 2007

Yes - that's really annoying. Don't people check the effects of the changes they make before uploading? The files are all gifs, have different filenames, and are in a different directory - or is something clever supposed to happen here?

The problem seems to be that there are now two conflicting configurations for wikiwyg - one in the file /pub/TWiki/WikiwygContrib/lib/Wikiwyg/Toolbar.js (with the correct filenames and locations in - presumably the default), and one in the "Wikiwyg impl" javascript block embedded in the page that overrides this with incorrect settings. I don't know where this block of javascript comes from. It needs updating!

-- TWikiGuest - 04 Mar 2007

I'm wondering if there is a working demo to try? I am trying to see if WikiwygContrib will work in Safari 3.

-- NoahLeaman - 18 Jul 2007

"there is no toolbar, just a bunch of broken image links" bug is still present, rendering this plugin unusable.

-- TWikiGuest - 07 Nov 2007

I changed the ModificationPolicy of this extension from ContactAuthorFirst to PleaseFeelFreeToModify due to inactivity. Anyone please feel free to work on this extension.

-- PeterThoeny - 2012-12-03

Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r20 - 2012-12-03 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.