Announcement

Collapse
No announcement yet.

enhance tinyMCE

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • enhance tinyMCE

    Perhaps it's possible, but couldn't find it. I miss the oportunity to allocate image directories. It would be great if I could upload pictures and then just point to them in tinyMCE. Now I have to enter full url...
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

  • #2
    Hello Mr. Drent,

    A filepicker for images, or if you could just pick an image that you previously inserted on an application?

    regards,
    Bernhard Bernsmann

    Comment


    • #3
      In fact in a way that a cms works. You can upload files to configured directories. Then Tiny is able to find them if it is configured to use the same directories. There are plugins within Tiny to upload files, but this one is not used within scriptcase. I can understand that as it is a security risk. But if you know what you are doing...
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment


      • #4
        Hi all,

        Another possibility is to use a different editor like ckeditor. I managed to implement this on a textbox by inserting this at onApplicationInit (definition is the textbox to replace):

        Code:
        echo '<script type="text/javascript" src="http://localhost/ckeditor/ckeditor.js"></script>';
        echo "<script>
            window.onload = function() {
                CKEDITOR.replace( 'definition' );
            };
        </script>";
        I did not manage to retrieve the changed content and save it to the database yet. The data is not in the default POST response... Any tips are welcome.

        Bert
        Last edited by Bert; 01-30-2013, 05:19 AM.

        Comment

        Working...
        X