Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Repeatable TinyMCE error #10782
    Max
    Participant

    I’m running WordPress 5.4.2, Piklist 1.0.9, Classic editor 1.5.

    I’m able to reproduce the bug in different browsers (Chrome, Firefox, Edge) and different servers (local XAMMP & online). Enabling or disabling browser extensions (e.g. uMatrix) also has no effect.

    in reply to: Repeatable TinyMCE error #10780
    Max
    Participant

    Just tried removing all options, including tinymce. Also deactivated all other plugins besides Piklist and the Classic Editor. Still the same error.

    P.S. I really appreciate your attention!

    in reply to: Repeatable TinyMCE error #10777
    Max
    Participant

    Firefox outputs an even longer error message:

    Uncaught TypeError: t is undefined
        r ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Ky ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        bw ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        ww ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Aw ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Bw ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        u ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        qt ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        u ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        loadScripts ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        loadQueue ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Bw ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        waitFor ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Bw ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        u ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        qt ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        u ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        loadScripts ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        loadQueue ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Bw ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Bw ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        Ow ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        render ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        n ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        e ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        qt ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        e ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        bind ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        M ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        init ~wp-includes/js/tinymce/wp-tinymce.js?ver=4960-20190918:3
        r ~wp-admin/js/editor.min.js?ver=5.4.2:2
        process_field ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:327
        process_fields ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:101
        _init ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:88
        PiklistFields ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:61
        piklistfields ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:924
        jQuery 2
        piklistfields ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:916
        re_index ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:1640
        action_handler ~wp-content/plugins/piklist/parts/js/piklist.js?ver=1.0.9:1495
        jQuery 2
    wp-tinymce.js:3:259914
    in reply to: Repeatable TinyMCE error #10775
    Max
    Participant

    The code from my file located at /parts/meta-boxes/

    <?php
    /*
    Title: Inhoud
    Post Type: page
    Hide for ID: 17, 20
    */
    
    piklist('field', array(
      'type' => 'group'
      ,'list' => false
      ,'required' => true
      ,'add_more' => true
      ,'template' => 'field'
      ,'fields' => array(
        array(
          'type' => 'text'
          ,'field' => 'text'
          ,'label' => 'Titel'
          ,'columns' => 12
        )
        ,array(
          'type' => 'editor'
          ,'field' => 'inhoud'
          ,'label' => 'Inhoud'
          ,'options' => array(
            'media_buttons' => true
            ,'drag_drop_upload' => true
            ,'tinymce' => array(
              'extended_valid_elements' => 'span[!class],code[!class],a[!href|target=_blank],*[style=]'
              ,'invalid_styles' => 'display,color'
              ,'invalid_elements' => '*[style]'
              ,'block_formats' => 'Paragraph=p;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6'
              ,'paste_auto_cleanup_on_paste' => true
              ,'paste_remove_spans' => true
              ,'paste_remove_styles' => true
              ,'toolbar1' => 'bold italic underline bullist numlist link unlink cut copy paste undo redo'
              ,'toolbar2' => 'formatselect strikethrough indent outdent pastetext removeformat charmap searchreplace'
            )
          )
        )
      )
    ));
    in reply to: Repeatable TinyMCE error #10771
    Max
    Participant

    Now that’s a quick response! The answer is yes to both.

Viewing 5 posts - 1 through 5 (of 5 total)