Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

wysiwyg integration advice please

edited August 2007 in Vanilla 1.0 Help
hi, i need to integrate a free wysiwyg into an admin panel of a website, i have never dealt with any wysiwyg soft, so please give a piece of advice on this,, i need it to be very easy to integrate, couse im not a pro in programming (even though i do make cms-based sites)... so please, recommend some free wysiwyg editor, which is easy to install and integrate,, thanks

Comments

  • Options
    You 're talking about a textbox with elements like bold, centered and so on? AFAIK most popular ones are tinymce and fckeditor I like tinymce better, but that's up to you they both work by including a .js file and that's it! (of course there are config options) If you need it for vanilla try the tinymce or fckeditor extensions
  • Options
    What AlexL said (although I prefer FCK :P).
  • Options
    edited August 2007
    thanks... only i doubt the intergration is <ins>only</ins> about including a file... i heard good stuff about fckeditor too.. thanks again
  • Options
    hey, don't doubt me, I'm god :p

    For tinymce in simple mode it's
    <script language="javascript" type="text/javascript" src="tiny_mce.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "simple" }); </script>
    and
    <textarea name="whatever" rows="10" cols="40"> Some <b>element</b> <p>Some paragraph. <a href="http://www.sourceforge.net">Some link</a></p> <img src="example_data/logo.jpg"> </textarea>

    And that's really it! nothing else to do :-)

    Not sure how it's done in fckeditor, but *should* be similar ;-)
  • Options
    edited August 2007
    You should check spaw. It's easy to implement and support UTF8.
    <?php include("spaw2/spaw.inc.php"); $spaw = new SpawEditor("spaw1", 'default content'); ... ?> <form action=... <?php $spaw->show(); ?> </form>


    Also YUI 2.3.0 come with a wysiwyg editor.
  • Options
    AFAIK every editor supports utf8? as all you have to do is set the form encoding to utf-8
  • Options
    thanks all @ AlexL, i did not mean to offend but somehow i thought such extensive functionality required complex setup.. but now, after I have confidured tinymce and am now using it in native language (ru), I truly see its a piece of cake.. thanks guys,,, p.s. love lussumo for real appreciable help..
This discussion has been closed.