1. #11
    Sencha User
    Join Date
    Dec 2011
    Posts
    7
    Vote Rating
    0
    m2276699 is on a distinguished road

      0  

    Default


    Quote Originally Posted by harrydeluxe View Post
    IE8 has a bug!
    'serializer' is empty or not an object
    row: 1
    char: 167888
    URI: http://harrydeluxe.github.com/extjs-...ce/tiny_mce.js

  2. #12
    Sencha Premium Member harrydeluxe's Avatar
    Join Date
    Jul 2007
    Location
    Nürnberg, Germany
    Posts
    78
    Vote Rating
    29
    harrydeluxe has a spectacular aura about harrydeluxe has a spectacular aura about

      0  

    Default


    fixed!
    DELACAP | Github
    "don't code today what you can't debug tomorrow"

  3. #13
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
    sentyx is on a distinguished road

      0  

    Default tinymce froze

    tinymce froze


    hello,
    i have little problem (and i think its i s due to my "lack of ext skills") and i would like to ask u for help.

    I am using tinymce field in in form
    Code:
     var form = Ext.create('Ext.form.Panel', {
                bodyPadding: 5,
                height: 370,
                            
                items: [{
                    xtype: 'tinymcefield',
                    name: 'content',
                    fieldLabel: trans_admin_menu_module_content,
                    labelAlign: 'top',
                    height: 230,
                    tinymceConfig: {
                        theme_advanced_buttons1: 'fullscreen',
                        theme_advanced_buttons2: 'bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect,|,pasteword',
                        theme_advanced_buttons3: '',
                        theme_advanced_buttons4: '',
                        skin: 'o2k7'
                    }
                }],
    
               url: menuSaveData,                        
                buttons: [{
                    text: trans_admin_button_save,
                    handler: function() {
                        var form = this.up('form').getForm();
                        alert(this.up('form').getComponent('test').getValue());
                        if (form.isValid()){
                            // save form
                        }
                    }
                }, {
                    text: trans_admin_button_close,
                    handler: function() {
                        this.up('window').close();
                    }
                }]
                         
                        
            });
    and this "addform" is then added to window, which can be "created" and showed by show() method
    when i first click to "create and show" window - everything works fine (including tinymce etc.)
    when i "close" window and click againg to "create and show" - strange things happens :

    i cannot write in tinymce (but tinymce plugins like emotikons etc. works...just i didnt see they efect)
    when i switch to fullscrean mode - everything works fine !

    can someone pls help me ?

    PS : just for completness of code i add my window code :
    Code:
    var window = Ext.create('Ext.window.Window', {
                itemId: 'window',
                title: trans_admin_menu_new,
                height: 460,
                width: 730,
                layout: 'fit'
            }).show();
    window.add(form);

  4. #14
    Sencha User
    Join Date
    Dec 2011
    Posts
    7
    Vote Rating
    0
    m2276699 is on a distinguished road

      0  

    Default


    nice work!

  5. #15
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
    sentyx is on a distinguished road

      0  

    Default


    problem fixed ->
    my form was created this way :
    Code:
     var form = Ext.create('Ext.form.Panel', {
                bodyPadding: 5,
                height: 370,
                renderTo: Ext.getBody(),
    
    ...
    and line : renderTo: Ext.getBody(),

    force tinymce to froze


    Quote Originally Posted by sentyx View Post
    hello,
    i have little problem (and i think its i s due to my "lack of ext skills") and i would like to ask u for help.

    I am using tinymce field in in form
    Code:
     var form = Ext.create('Ext.form.Panel', {
                bodyPadding: 5,
                height: 370,
                            
                items: [{
                    xtype: 'tinymcefield',
                    name: 'content',
                    fieldLabel: trans_admin_menu_module_content,
                    labelAlign: 'top',
                    height: 230,
                    tinymceConfig: {
                        theme_advanced_buttons1: 'fullscreen',
                        theme_advanced_buttons2: 'bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect,|,pasteword',
                        theme_advanced_buttons3: '',
                        theme_advanced_buttons4: '',
                        skin: 'o2k7'
                    }
                }],
    
               url: menuSaveData,                        
                buttons: [{
                    text: trans_admin_button_save,
                    handler: function() {
                        var form = this.up('form').getForm();
                        alert(this.up('form').getComponent('test').getValue());
                        if (form.isValid()){
                            // save form
                        }
                    }
                }, {
                    text: trans_admin_button_close,
                    handler: function() {
                        this.up('window').close();
                    }
                }]
                         
                        
            });
    and this "addform" is then added to window, which can be "created" and showed by show() method
    when i first click to "create and show" window - everything works fine (including tinymce etc.)
    when i "close" window and click againg to "create and show" - strange things happens :

    i cannot write in tinymce (but tinymce plugins like emotikons etc. works...just i didnt see they efect)
    when i switch to fullscrean mode - everything works fine !

    can someone pls help me ?

    PS : just for completness of code i add my window code :
    Code:
    var window = Ext.create('Ext.window.Window', {
                itemId: 'window',
                title: trans_admin_menu_new,
                height: 460,
                width: 730,
                layout: 'fit'
            }).show();
    window.add(form);

  6. #16
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,010
    Vote Rating
    460
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    It seems that toggling to full screen, then back will lose connection to the data. getRawValue() does not seem to be called. The last value will remain when changing records.

    Do demonstrate this in your demo, load data and click reset .. all fields are cleared including MCE. Load data again, then toggle full screen and then click reset. MCE still has data.

    Another issue related to fullscreen. Load data, toggle fullscreen, then load data again. Modal 'loading' remains on screen.

    Scott.
    Last edited by scottmartin; 3 Jul 2012 at 10:44 PM. Reason: Additional Info

  7. #17
    Sencha Premium Member harrydeluxe's Avatar
    Join Date
    Jul 2007
    Location
    Nürnberg, Germany
    Posts
    78
    Vote Rating
    29
    harrydeluxe has a spectacular aura about harrydeluxe has a spectacular aura about

      1  

    Default


    @scottmartin The problem is solved. I have the plugin 'fullscreen' in tinymce rewritten. Since there existed a conceptual error.
    DELACAP | Github
    "don't code today what you can't debug tomorrow"

  8. #18
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,010
    Vote Rating
    460
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      1  

    Default


    Thank you sir!

    Scott.

  9. #19
    Sencha User
    Join Date
    Jul 2011
    Posts
    163
    Vote Rating
    1
    extremed is on a distinguished road

      0  

    Default


    i checked the github page and found that it supports 4.1.1.

    http://harrydeluxe.github.com/extjs-...m/tinymce.html

    but once i try to build the project with sencha cmd it says Failed parsing TinyMCEWindowManager.js

    any fix for the issue?

  10. #20
    Sencha User
    Join Date
    May 2010
    Posts
    172
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default


    I am also getting the "Failed parsing TinyMCEWindowManager.js" Error when trying to compile the application.

    Anyone having any luck with this?