Mathieu :Can you send us the code of your plugin so that we can have a look.
Thanks and best regards !
-Phung Nam.
On 3/1/07, EMPTOZ Mathieu 310507 <Mathieu.EMPTOZ(a)cea.fr> wrote:
Hello everybody,
As Christian, I've developed a wiki theme (based on advanced theme) for
tiny_mce, which can add link and attachments with wiki syntax.
I needn't wiki_editor anymore, I only use tiny_mce, my theme and just 5
lines to add in "tiny_mce.js".
This work fine with all sorts of links (wiki page, web page, email and
attachments).
I will look for images tomorrow.
Mathieu
---------------------------------------------------
Mathieu Emptoz
CEA Cadarache
DRFC/STEP
XWiki's EFDA Remote Participation Administrator
---------------------------------------------------
-----Message d'origine-----
De: Ludovic Dubost [mailto:ludovic@xwiki.com]
Envoyé: mercredi 28 février 2007 17:38
À: xwiki-dev(a)objectweb.org
Objet: Re: [xwiki-dev] tiny_mce and the integration into xwiki
We discussed about the following work plan:
1/ Create a task in JIRA for refactoring the editor
2/ Create a branch for the editor (ask Vincent for it)
3/ Simplify the architecture as proposed by Christian
4/ Migrate to the latest TinyMCE verison, check for what our own patches
do.. If they do something important propose them as a patch to the
tinymce team
5/ Try to separate the conversion library from the tiny_mce plugin. make
is a html2xwiki.js file
6/ make it so that we could potentially call the server to do the
conversion
7/ port the image, link, marcro popups, try to make them generic and
separate from tinyMCE so they can be used in the wiki editor
Ludovic
Phung Nam a écrit :
Hi Vincent !
I discussed with Ludovic and Christian about the new architecture for
wiki editor
Can you help me Create a branch for the editor to add Christian to the
committer to he can working and commit
his stuff
Thanks and best regards !
- Phung Nam
On 2/28/07, *Christian Gmeiner* <christian.gmeiner(a)gmail.com
<mailto:christian.gmeiner@gmail.com>> wrote:
Today is good.. i am in the irc for the next 4 hours... and than
tomorrow from 9 am to 12 pm GTM +2
2007/2/28, Ludovic Dubost <ludovic(a)xwiki.com
<mailto:ludovic@xwiki.com>>:
Hi Christian,
This is great news indeed. We definitively need some help
refactoring
> the WYSIWYG Editor.
> I've had some ideas also on how to improve things in the future.
We
could
also setup a branch so that we can share the work done and
test it.
I also have some questions about how you did
this. Did you
refactor the
conversion code from the existing conversion or
did you wrote the
convertor from scratch ?
Maybe the interested people in this thread could plan an online
meeting
> in IRC or Skype to discuss the architecture.
>
> I count:
>
> Christian Gmeiner
> Mathieu EMPTOZ
> Phung Nam who is the core team is responsible for the WYSIWYG
Editor
Ludovic
Dubost (myself)
Maybe Sergiu and/or Vincent from the Core team would like to
participate.
>
> When would be a good time knowing that morning is better ?
>
> Ludovic
>
> Christian Gmeiner a écrit :
> > Good news... I have written two tiny_mce plugins:
> > * xwiki -> converts html to xwiki syntax
> > * xwikimacro -> show macro dialog
> >
> > I have done only some parts of the convertion - bold, italc and
it
>
works very fine. I am reading into the plugin api more deeply
so that
> we could provide a better interaction - e.g.
links dialog as
we know
> it, or image dialg as we know it.
>
> I think that are very good news :)
> greets,
> austriancoder
>
> 2007/2/23, Christian Gmeiner <christian.gmeiner(a)gmail.com
<mailto:christian.gmeiner@gmail.com>>:
>> Hi...
>>
>> i have looked into the source of the wysiwyg editor stuff and
i must
>> say, it is a hack.
>> At the moment this is the structure:
>>
>> tiny_mce --> plugins
>> |
>> |
>> wiki_editor --> own plugins (attachments and macros)
>> |
>> |
>> wysiwyg.vm
>>
>>
>> I think that this is very complex and hard to maintain. Here
is my
>> idea how to do it better.
>> 1) Write a tiny_mce plugin called "xwikiMacro" which allows
the user
>> to add XWiki macros into
>> his page with the help of tiny_mce
>> 2) Write a post processing plugin, which converts the result
from
>> tiny_mce into xwiki markup
>> 3) change wysiwyg.vm to use directly tiny_mce
>> 4) kick wiki_editor
>>
>> This allows us to easier update tiny_mce and it is much
simpler to
>> understand whats going on. An other plus
is that there is not
an other
>> layer in between, which could break
everything.
>>
>> Please tell me what you think about my idea. ATM i am working
on the
>> marco plugin.
>>
>> chhers,
>> Christian
>>
>> 2007/2/23, Phung Nam <phunghainam(a)xwiki.com
<mailto:phunghainam@xwiki.com> >:
>> > Hi Christian !
>> >
>> > To update tiny_mce to most recent version is not easy !
because
we
> >> have some
> >> > modifications in tiny_mce.js (so if you update to most recent
> >> version then
> >> > you also must modify somethings in new tiny_mce.js if Tiny
MCE
>>
don't have
>> > very much modifications in API)
>> >
>> > To update to tiny_mce with new version you can following
the
steps:
>> >
>> > - Copy the Tiny_MCE with most recent version to replace
for
tiny_mce
>> > directory
>> > - We configured for tiny_mce in wiki_editor.js
>> > - We use many function of Tiny_MCE in core.js , so we must
modify
>> somethings
>> > if Tiny_MCE have very much modifications in API
>> >
>> > If you have some questions about this you can email for me .
>> >
>> > Thanks and best regards !
>> > -Phung Nam
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On 2/22/07, Christian Gmeiner < christian.gmeiner(a)gmail.com
<mailto:christian.gmeiner@gmail.com>> wrote:
>> > >
>> > > Hi all.
>> > >
>> > > At the moment I am looking into problems exists with
xwikis
wysiwyg
>> > > editor. For instance, it is
not possible to save the
result of image
>> > > operations in the wiki page.
>> > >
>> > > I have created an jira -
>> >
http://jira.xwiki.org/jira/browse/XWIKI-906 -
>> > > to update tiny_mce to most recent version. But know I
need
more
>> > > informations, where, how, ...
tiny_mce is integrated in
xwiki. Where
>> > > can i find the setup of
tiny_mce...
>> > >
>> > > I hope somebody can help me,
>> > > Christian
>> > >
>> > >
>> > >
>> > > --
>> > > You receive this message as a subscriber of the
>> xwiki-dev(a)objectweb.org <mailto:xwiki-dev@objectweb.org>
>> > mailing list.
>> > > To unsubscribe: mailto:
>> > xwiki-dev-unsubscribe(a)objectweb.org
<mailto:xwiki-dev-unsubscribe@objectweb.org>
>> > > For general help: mailto:
sympa(a)objectweb.org?subject=help
<http://sympa@objectweb.org?subject=help>
>> > > ObjectWeb mailing lists
service home page:
>>
http://www.objectweb.org/wws
>> > >
>> > >
>> >
>> >
>> >
>> > --
>> > You receive this message as a subscriber of the
>> xwiki-dev(a)objectweb.org <mailto:xwiki-dev@objectweb.org>
>> > mailing list.
>> > To unsubscribe: mailto: xwiki-dev-unsubscribe(a)objectweb.org
<mailto:xwiki-dev-unsubscribe@objectweb.org>
>> > For general help:
mailto:sympa@objectweb.org
<mailto:sympa@objectweb.org>?subject=help
>> > ObjectWeb mailing lists service
home page:
>>
http://www.objectweb.org/wws
>> >
>> >
>>
>
>
------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the
xwiki-dev(a)objectweb.org
<mailto:xwiki-dev@objectweb.org> mailing
list.
> To
unsubscribe: mailto: xwiki-dev-unsubscribe(a)objectweb.org
<mailto:xwiki-dev-unsubscribe@objectweb.org>
> For general help: mailto:sympa@objectweb.org
<mailto:sympa@objectweb.org>?subject=help
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
--
You receive this message as a subscriber of the
xwiki-dev(a)objectweb.org
<mailto:xwiki-dev@objectweb.org> mailing
list.
To
unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
<mailto:xwiki-dev-unsubscribe@objectweb.org>
For general help: mailto: sympa(a)objectweb.org
<mailto:sympa@objectweb.org>?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
You receive this message as a subscriber of the
xwiki-dev(a)objectweb.org <mailto:xwiki-dev@objectweb.org> mailing
list.
To unsubscribe:
mailto:xwiki-dev-unsubscribe@objectweb.org
<mailto:xwiki-dev-unsubscribe@objectweb.org>
For general help: mailto:sympa@objectweb.org
<mailto:sympa@objectweb.org>?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.orgmailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.orgmailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws