Twylite wrote
> Rene de Zwart wrote:
>> I just finished integrating tiny mce.
>> To start with the downside -;( 'You need to make tinyMce part of the
>> Repository!'
>>
> Please no!  TinyMCE is a bloated monstrosity and produces _horrible_
> HTML.  We're struggling to migrate an intranet system from Drupal to
> PmWiki on account of the terrible markup produced by TinyMCE.
>
> If some sort of edit helper is required, please consider MarkItUp
> (http://markitup.jaysalvat.com/home/) rather than a WYSIWYG.  MarkItUp
> is built on jQuery, which provides the side benefit of giving Fossil and
> excellent JavaScript library for UI enhancement, AJAX features, etc.

Well if you  prefer xyz AND!! it has the same kind of interfacing as
tinyMCE (e.g. recognizing text areas by name. Because the text areas
doesn't have ids in fossil.) than the drill is exactly the same.

What I did doesn't need to alter fossil. In this way one can test out
support for wysiwyg html editing and decide if it is worth all the
trouble.

It does add the xyz javascript library to every page. But that doesn't
means that fossil is using it. That would require modifying every page.
Which is a major undertaking and creating a dependency on xyz.

BTW I did a bit of testing and I found 3 areas which allow html
elements comment,cmappnd (in ticket) and element w (in wikiedit) so it
makes more sense to test for
        ('comment' == n || 'cmappnd' == n || "w" == n)
then for
        ('header' != n && 'footer' != n && 'css' != n)

Rene

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to