Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #21
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    Any chance of supporting multiple instances of the editor?

    Code:
    Ext.widget({xtype:'tinymcefield',renderTo:Ext.getBody()});
    Ext.widget({xtype:'tinymcefield',renderTo:Ext.getBody()});
    ...
    

  2. #22
    Sencha User
    Join Date
    Sep 2012
    Posts
    5
    Vote Rating
    0
    svitalius is on a distinguished road

      0  

    Default


    First off – Thanks Harald for making a great solution for bringing TinyMCE into ExtJS. It works great!

    One thing I'm struggling with is how to add custom buttons to the toolbar. In a non-extjs implementation of TinyMCE you can do this by simply adding the following to tinymce.init()

    PHP Code:
    setup: function(editor) {
      
    editor.addButton('custom-button, {
        title: '
    Custom Button',
        image: '
    images/example.png',
        onclick: function() {
            // do whatever
        }
      });

    However, this approach does not seem to work in the extjs implementation. I've tried adding that code in a variety of places from the tinymceConfig when instantiating to the globalSettings and initEditor -> tinymceConfig.setup functions in TinyMCE.js class file. None of those seem to do the trick.

    Has anyone done this successfully? If so, how? If not, any ideas?

    Cheers!

  3. #23
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    @svitalius

    Try adding the button during the handler for "onBeforeRenderUI" instead of "setup"...
    Code:
    editor.onBeforeRenderUI.add(function(ed){
      ed.addButton('custom-id',{
        'class': 'my-css-class',
        title: 'custom button'
      });
    });
    That's how I inject my buttons.

  4. #24
    Sencha User
    Join Date
    Sep 2012
    Posts
    5
    Vote Rating
    0
    svitalius is on a distinguished road

      0  

    Default


    Thanks for the reply zombeerose.

    What I just figured out is that both approaches actually work. The reason why my custom button wasn't showing up is because I wasn't actually instantiating it through the button config - ie: theme_advanced_buttons1: 'bold, italic, customBtnId, etc....'

    Bonehead oversight on my part.

  5. #25
    Sencha User
    Join Date
    Sep 2012
    Posts
    5
    Vote Rating
    0
    svitalius is on a distinguished road

      0  

    Default


    I've added added a custom button to tinymce that when clicked opens a ext window extended to a custom file browser. When a file is selected or uploaded I would like to insert an image tag into the tinymce editor, ideally outside of the tag containing the current cursor position – so that I can float it next to the current <p>.

    Any thoughts on how to go about this would be super appreciated!

    Cheers.

  6. #26
    Sencha User
    Join Date
    May 2010
    Posts
    168
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default


    @svitalius

    WHERE are you putting your setup function. I'm trying to add a button I tried adding a listener for setup but the function is never called.

  7. #27
    Sencha User
    Join Date
    May 2010
    Posts
    168
    Vote Rating
    1
    Dmoney is on a distinguished road

      0  

    Default


    nevermind, this worked for me.

    Code:
    editor.onBeforeRenderUI.add(function(ed){  ed.addButton('custom-id',{    'class': 'my-css-class',    title: 'custom button'  });});

  8. #28
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    9
    Vote Rating
    3
    megaurav2002 is on a distinguished road

      0  

    Default TinyMCE build error

    TinyMCE build error


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

    Any ideas?

    Thanks

  9. #29
    Sencha User
    Join Date
    Aug 2008
    Posts
    31
    Vote Rating
    0
    Bodom78 is on a distinguished road

      0  

    Default


    Quote Originally Posted by Dmoney View Post
    I am also getting the "Failed parsing TinyMCEWindowManager.js" Error when trying to compile the application.

    Anyone having any luck with this?
    If you minifying your JS, try not minifying TinyMCEWindowManager.js and just add it separately. I'm not sure but I remember having issues with minifying it back in the day.

  10. #30
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    9
    Vote Rating
    3
    megaurav2002 is on a distinguished road

      0  

    Default TinyMCE build error

    TinyMCE build error


    I am getting "Unknown definition for dependency:tinymce.WindowManager" error when trying to build extjs 4.2 with TinyMCE. Any ideas?

    Thanks