We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26401
    • 247 Posts
    I noticed that there was a bug reported about the tinyMCE editor.
    "Bug #45 : Editing resource via TinyMCE HTML source or property panels only doesn’t enable Save button"

    I’ve noticed this in another plugin, and was wondering how I can force/trigger save button. Or even just have it enabled all the time.
      • 26401
      • 247 Posts
      bump

      any ideas?
        • 28215
        • 4,149 Posts
        Ext.getCmp('modx-panel-resource').markDirty();
        
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 26401
          • 247 Posts
          Thanks!!!

          took me about 2hours to try and put it into a plugin, finally I just edited the template file to always force this code whenever it is present on the page.