create new tag
, view all tags

XinhaEditorPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on XinhaEditorPlugin 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 XinhaEditorPlugin

-- VasekDovrtel - 14 Nov 2006

Vasek, thank you for sharing this edtor integration with the TWikiCommunity!

At what stage is the integration? What was the reason to create this integration vs. using the Kupu based WysiwygPlugin? What are the differences? The Kupu based editor has many bugs on TML -> HTML -> TML roundtrip. Does this editor inherit those bugs?

Some feedback:

  • I renamed the topic from XinhaWysiwygPlugin to XinhaEditorPlugin since the Perl package and .txt suggest XinhaEditorPlugin.
  • I renamed the attachment twiki_XinhaEditor_plugin.tgz XinhaEditorPlugin.tgz to align it with the package name.
  • I create a XinhaEditorPlugin.zip from the twiki_XinhaEditor_plugin.tgz so that the download links in PluginPackage and other query pages work.
  • I tagged the plugin topic so that it can be found more easily.

Thanks again for sharing your extension!

-- PeterThoeny - 14 Nov 2006

Hi Peter, Thanks for your corrections. Excuse me for brief description of a plugin. I make it up promptly.

The reason? Oh yeah. We need make some environment for insert our bee report to twiki. see. bee.insightstrategy.cz or BeeWikiPlugin. The Wysiwyg is the best way how to do it(for example with some ajax functions and so one). Ok, for this I can use Kupu, but I try to add some function to Kupu, only some button to menu and some popup window with ajax functions and with some inputs. This was absurd in some acceptable time:-(

This wysiwyg has always many bugs for TML -> HTML -> TML roundtrip. (unfortunately). But it's plugin able, you can add many plugins to it as you can this plugin turn off. And it's prettier:-)

I have many TODO and future for this. But I have to summarize it. Then I'll write it here.

How this plugins work? When you click on wysiwyg button. It call afterWysiwygEditHandler from all plugins(which has it). In this function every plugin can do with text some edit for wysiwyg view. (because, for every function or variable you can write its button to menu IT'S EASY).

Then you edit something in wysiwyg and before save to twiki. There is also function beforeWysiwygSaveHandler calling from every plugin.

FOR EXAMPLE: We have this variable. %BEE_REPORT{ some parametrs }%. It's create table(or graph, ...) from some data from our OLAP server. Before wysiwyg edit we make from this varibale IMG in afterWysiwygEditHandler. Then you see img with some parametr in wysiwyg xinha editor. You have button in menu to manage this. And you still wotk with img, but it's only img with generated params. It's some prasentation of report. Then you click to save and in beforeWysiwygSaveHandler we make from this img back %BEE_REPORT{}%.

This is our idea how can it works for other special variables or functions.

Now it's function. But there is still problem with TML -> HTML -> TML roundtrip.

In this plugin there are some test in perl (>90). But there are always many bug:-(

-- VasekDovrtel - 14 Nov 2006

Thanks for the clarification.

One small detail: This plugin is marked as tested on 4.1. Shouldn't that be 4.0?

-- PeterThoeny - 15 Nov 2006

Vasek, I just decoupled Kupu and WysiwygPlugin. It should not affect XinhaEditorPlugin, but I couldn't find the sources in subversion to check/test.

-- CrawfordCurrie - 01 Dec 2006

Looks like you bundled a version of WysiwygPlugin with the plugin. Now it's doecoupled you should be able to get rid of that. When I try it, though, I don't get any TML->HTML translation. I guess you aren't quite finished yet...

-- CrawfordCurrie - 01 Dec 2006

I don't commit anything to subversion.

Now I'm ready with new version HTML->TML roundtrip, using HTML::WikiConverter. And for trip from TML->HTML use embedded converter in TWiki.

I split TML->HTML roundtrip in two processes. One of them convert TML base formating and second is take care of convert TWiki variables.

On the face of it. It's another way that is using WysiwygPlugin and Kupu.

I think that this way is more comfortable. And only when i show HTML in Wysiwyg with TWiki embedded convertor I can get real wysiwyg view.

I know. I'm at the beginning. But when someone could help me with testing:-)

-- VasekDovrtel - 04 Dec 2006

I upload a new version within a few days.

-- VasekDovrtel - 04 Dec 2006

It's really not clear to me why you are duplicating the work done in WysiwygPlugin.

-- CrawfordCurrie - 05 Dec 2006

It's possible to use internal link as Kupu ?

-- YannickPavard - 10 Mar 2007

Please, can you explain this:-) What you think with "internal link". thanks

-- VasekDovrtel - 19 Mar 2007

Vasek, are you still workin on this plugin? I'm keen to give it a try but installation instructions are still missing and the last update is almost half a year old.


-- CarloSchulz - 24 Apr 2007

Yes I'm. But I'm planning to release new version on 1th June 2007 with docs. Please bear with me. Thanks

-- VasekDovrtel - 30 May 2007

Thanks for sharing your extension! Looking forward to the new version.

-- GillesEricDescamps - 07 Jun 2007

Afterwards it was


and this produced an error message on the page.

-- DavidSole - 13 Jun 2007

Any update on the new release ?

I've just recently tried this plugin. It was incorrectly processing HTML entities.

It came to my attention when I edited a page using the CommentPlugin and before editing it was


Does anyone know how to install the Xinha WYSIWYG editor in Twiki? the instructions on the Xinha site are just IMPOSSIBLE. i already installed the Xinha plugin from twiki.org. But the editor itself is needed aswell.. the examples work, but i don't know how the hell to integrate it with twiki... HELP!!!

-- MaartenDeRuiter - 18 Jun 2007

I feel that it is critical to provide documentation for integration of the xinha wysiwyg editor into twiki. I sys admin at an organization here in Alaska with 85+ employees, and we need a wysiwyg wiki that supports strong user permissions. These are the determining factors that are deciding which wiki's will last the test of time

-- BradGarness - 17 Jul 2007

How do you install this thing? It looks really useful!

-- BrianMahoney - 06 Aug 2007

As far as I can tell this editor is just not ready yet.

-- CarloSchulz - 07 Aug 2007

See new alternative: TinyMCEPlugin.

-- PeterThoeny - 12 Aug 2007

Edit | Attach | Watch | Print version | History: r21 < r20 < r19 < r18 < r17 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r21 - 2007-08-12 - 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.