TinyMCE plugin

Help
2014-05-06
2014-05-06
  • Adam Fishman

    Adam Fishman - 2014-05-06

    I have added the plugins file and tinymce (tinymce_3.5.10) to the plugins directory. I have also added the plugin, as well as the
    $plugins = array(
    // specify enabled plugins here
    new AdminerTinymce,
    new AdminerFrames,
    new AdminerEditTextarea,
    );

    I can see in the source code of the adminer interface that it sees the js file.

    ie: <!DOCTYPE html>
    <html lang="en" dir="ltr">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta name="robots" content="noindex">
    Table: itmfil - Adminer
    <link rel="stylesheet" type="text/css" href="?file=default.css&amp;version=4.1.0">
    <script type="text/javascript" src="?file=functions.js&amp;version=4.1.0"></script>
    <script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript">
    tinyMCE.init({
    mode: 'none',
    theme: 'advanced',
    plugins: 'contextmenu,paste,table',
    entity_encoding: 'raw',
    theme_advanced_buttons1: 'bold,italic,link,unlink,|,sub,sup,|,bullist,numlist,|,cleanup,code',
    theme_advanced_buttons2: 'tablecontrols',
    theme_advanced_buttons3: '',
    theme_advanced_toolbar_location: 'top',
    theme_advanced_toolbar_align: 'left',
    language: 'en'
    });
    </script>

    I created a field with the _html extension in the field name, but I never get the tiny mce to run in the edit mode. I followed documentation, but still do not get tinymce to show in the field for editing.

    Am I missing something?

     
  • Adam Fishman

    Adam Fishman - 2014-05-06

    I figured it out. The fields I had were not set as text. That solved it. Thanks

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks