Results 1 to 3 of 3

Thread: tinymce4

  1. #1
    User
    Join Date
    10-12-13.
    Posts
    104

    Default tinymce4

    Hi,
    I have one problem with text color ... How to add it in toolbar in tinymce4?
    regards, Goran

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Modify your files/tinymce.css

    Example:
    PHP Code:
    .c_error {
      
    colorred;
    }
    .
    c_info {
      
    colororange;
    }
    .
    c_highlight {
      
    colorgreen;

    Then you see it in Format-Formats-files/tinymce.css. If you don't see it it's caused by browser cache. Than you can modify this line in your system/config/tinyMCE.php to immediately show new formats.

    PHP Code:
      // 1st line is old, 2nd is new
      content_css: "<?php echo TL_PATH?>/system/themes/tinymce.css,<?php echo TL_PATH '/' Config::get('uploadPath'); ?>/tinymce.css",
      content_css: "<?php echo TL_PATH?>/system/themes/tinymce.css,<?php echo TL_PATH '/' Config::get('uploadPath'); ?>/tinymce.css?" + new Date().getTime(),
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  3. #3
    User
    Join Date
    10-12-13.
    Posts
    104

    Default :-)

    thank you :-) now it's fine

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •