We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43113
    • 8 Posts
    Hi mates.

    I installed current version of MODX 2.2.6 and current TinyMCE plugin (4.3.3). I cant find solution anywhere.

    I'm from Poland and its normal for polish people to press ALT GR (right ALT) + a to get polish "ą" letter. The problem is when TinyMCE plugin is installed becouse then MODX translating it to "select all" (should be SHIFT+ALT+A in MODX).

    Can enyone help me?
      • 43044
      • 9 Posts

      To jest błąd który występuje tylko w Chromie, nie wiem czemu jeszcze go nie poprawili.
      This bug is only in Chrome browser:

      /assets/components/tinymce/jscripts/tiny_mce/tiny_mce.js

      Edit this line:
      return a.isMac ? b.metaKey : b.ctrlKey 


      Change to:
      return a.isMac ? b.metaKey : b.ctrlKey && !b.altKey


      (function(a) {
          a.VK = {BACKSPACE: 8,DELETE: 46,DOWN: 40,ENTER: 13,LEFT: 37,RIGHT: 39,SPACEBAR: 32,TAB: 9,UP: 38,modifierPressed: function(b) {
                  return b.shiftKey || b.ctrlKey || b.altKey
              },metaKeyPressed: function(b) {
                  return a.isMac ? b.metaKey : b.ctrlKey && !b.altKey
              }}
      })(tinymce);
      
        • 50073
        • 1 Posts
        Hi guys,

        I had to do it this way to make it work

        return a.isMac?b.metaKey:(b.ctrlKey && !b.altKey)