in reply to Re^8: TinyMCE javascript toolbar ( perlmonks/plugin.js v2 )
in thread TinyMCE javascript toolbar

Have I missed a step?

step one, test stuff without webserver :)

step zero, did you use d/l download code link?

step two, don't write stuff like checked the paths especially when it didn't work as that isn't specific enough

This probably means you didn't use download link ReferenceError: "tinymce is not defined pm_test_editor.html:23"

That is the simplest explanation not involving webserver

Now it could be that I didn't upload the right thing, or that perlmonks fudged something up, so I'll check that now update: I checked, i uploaded the right thing, it works when downloading from perlmonks

Use /?abspart=1;displaytype=displaycode;node_id=1110370;part=1 and /?abspart=1;displaytype=displaycode;node_id=1110370;part=2 to download

  • Comment on Re^9: TinyMCE javascript toolbar ( perlmonks/plugin.js v2 )

Replies are listed 'Best First'.
Re^10: TinyMCE javascript toolbar ( perlmonks/plugin.js v2 )
by Steve_BZ (Chaplain) on Dec 16, 2014 at 15:59 UTC

    Hi Anon,

    step one, test stuff without webserver :),

    I didn't do this. You mean on my local PC, without apache? So:

    <script src="file:///home/steve/Downloads/tinymce/js/tinymce/tinymce.dev.js">

    step zero, did you use d/l download code link?

    Yes.

    I don't think it's a problem with your code, it's getting tinymce developer running.  I used the .min all the way through.  I feel it should work with your script too.  .dev seems to have a lot less code than .min.

    I think if I add your perlmonks pluggin and your valid_elements and other stuff it should be fine.  I'm adding it a bit at a time and I'll let you know how it goes.

    Regards,

    Steve.

      I didn't do this. You mean on my local PC, without apache? So

      Why don't you use the files as downloaded? Without editing the files? Its what I did

        I haven't edited the files either.

        So I've downloaded them, but calling them from the script has not worked, I'm on Linux and the html line:

        <script src="path/to/tinymce.dev.js"></script>

        doesn't point to the right file.  What syntax did you use?

        Regards

        Steve.