Giter Site home page Giter Site logo

Comments (4)

burzum avatar burzum commented on July 17, 2024

Is your app installed in / or /some/sub/folder of your host?

from tinymce.

justinhartman avatar justinhartman commented on July 17, 2024

This is also an issue for me. Even raw pasting the following into my header area didn't load the editor:

      <script type="text/javascript">
        jQuery.noConflict();

        tinymce.init({
            theme: "simple",
            selector: "textarea"
        });
    </script>

Your example code as shown below doesnot load the init either:

$this->TinyMCE->editor(array(
            'theme' => 'advanced', 
            'mode' => 'textareas'
        )
    );

I see the last change on the code was more than 7 months ago. Are you planning on maintaining this or is not a priority for you guys anymore?

from tinymce.

burzum avatar burzum commented on July 17, 2024

@justinhartman "Doesnt load" is not really any useful information. Your browsers debug tools should show at least two things: A js error and / or that it could not load the TyineMCE js file. So what is the case? Have you enabled the dispatcher?

Maintaining the plugins is not a top priority because this is unpaid work. If you need something fixed ASAP you can always contact us and you'll get you first class personal support and we'll fix whatever you want immediately.

from tinymce.

burzum avatar burzum commented on July 17, 2024

This works just fine for me without any modifications to the plugin. Are you guys sure that jquey is loaded before TinyMCE? I've tested this with 2.3.5 and latest master. Make sure your browser is not caching, maybe something wrong is still cached?

// bootstrap.php
Configure::write('TinyMCE.configs', array(
    'simple' => array(
        'mode' => 'textareas',
    ),
));

// View/Pages/tiny_mce.ctp
$this->Html->script('/TinyMCE/js/tiny_mce/tiny_mce.js', array('inline' => false));
$this->TinyMCE->editor('simple');

echo $this->Form->create();
echo $this->Form->input('editor', array(
    'type' => 'textarea',
));
echo $this->Form->end(__d('tiny_mce', 'Submit'));

from tinymce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.