We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24374
    • 322 Posts
    I'm running Revolution 2.2.2, Newspublisher 1.2.1, TinyMCE 4.3.2. I've added table controls into TinyMCE through the system settings.

    On the front end in Newspublisher, in the richtext content field, formatting works using the tinyMCE buttons, but other things don't work.

    1. The insert table button does nothing. Clicking this button throws this error:
    Error: f is undefined
    Source File: http://localhost/assets/components/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js
    Line: 1

    2. The Style popup is blank.

    3. Clicking insert image brings up the dialog box, then I can get into the file browser and select an image, then when I finish and click Insert, no image appears in the text unless I enter text in the Image Description field. (I know that's good practice, but my clients will think this is a bug when they do it.)

    4. There is a "dead zone" in which I cannot insert my cursor or double-click on any text. The attached image shows this area.

    All these things work just fine in the back end.
      • 24374
      • 322 Posts
      Hmm. Just noticed that this dead zone extends up into the toolbar as well. I can't click any of the buttons vertically above the illustrator dead zone either. That accounts for the Styles popup not working.
        • 24374
        • 322 Posts
        Just solved the dead zone issue. The Edit button was creating a gigantically high div that overlapped everything. I fixed that with CSS, but the Styles popup still has nothing in it.
          • 24374
          • 322 Posts
          Also just noticed that when I load the Newspublisher editing page by clicking an Edit button, the following javascript error is thrown:

          Error: b[d.xtype || e] is not a constructor
          Source File: http://localhost/manager/assets/ext3/ext-all.js
          Line: 7
            • 3749
            • 24,544 Posts
            A new version of NP is due out soon. I'm not seeing those problems in it with MODX 2.2.2.



            ------------------------------------------------------------------------------------------
            PLEASE, PLEASE specify the version of MODX you are using.
            MODX info for everyone: http://bobsguides.com/modx.html
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting