Plugin Directory

Changeset 609180


Ignore:
Timestamp:
10/07/2012 02:56:25 PM (13 years ago)
Author:
daxitude
Message:

fixed bug in js to check whether window.tinymce is available

Location:
ace-editor-for-wp
Files:
3 edited
10 copied

Legend:

Unmodified
Added
Removed
  • ace-editor-for-wp/tags/0.6/ace4wp.php

    r609173 r609180  
    33Plugin Name: ACE Editor for WP
    44Description: Adds ACE Editor to the post content editor for syntax-highlighting and more
    5 Version: 0.5
     5Version: 0.6
    66Author: daxitude
    77Author URI: http://github.com/daxitude/
  • ace-editor-for-wp/tags/0.6/aceinit.js

    r609173 r609180  
    124124        // overwrites the default
    125125        setEditorContent: function () {
    126             var value = (getUserSetting('editor') == 'tinymce') ?
     126            var value = (getUserSetting('editor') == 'tinymce' && window.tinyMCE) ?
    127127                tinyMCE.get(this.element).getContent() :
    128128                this.$elem.val(); // need to use val for compat with IE
  • ace-editor-for-wp/tags/0.6/readme.txt

    r609173 r609180  
    44Requires at least: 3.4
    55Tested up to: 3.4.2
    6 Stable tag: 0.5
     6Stable tag: 0.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • ace-editor-for-wp/trunk/ace4wp.php

    r609173 r609180  
    33Plugin Name: ACE Editor for WP
    44Description: Adds ACE Editor to the post content editor for syntax-highlighting and more
    5 Version: 0.5
     5Version: 0.6
    66Author: daxitude
    77Author URI: http://github.com/daxitude/
  • ace-editor-for-wp/trunk/aceinit.js

    r609173 r609180  
    124124        // overwrites the default
    125125        setEditorContent: function () {
    126             var value = (getUserSetting('editor') == 'tinymce') ?
     126            var value = (getUserSetting('editor') == 'tinymce' && window.tinyMCE) ?
    127127                tinyMCE.get(this.element).getContent() :
    128128                this.$elem.val(); // need to use val for compat with IE
  • ace-editor-for-wp/trunk/readme.txt

    r609173 r609180  
    44Requires at least: 3.4
    55Tested up to: 3.4.2
    6 Stable tag: 0.5
     6Stable tag: 0.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.