I insert to my module this hook

function custom_module_filter_info_alter(&$info) {
  // Compatability with QuickEdit module for in-line editing.
  if (module_exists('quickedit') && module_exists('insert_block')) {
    $info['insert_block']['type'] = FILTER_TYPE_TRANSFORM_REVERSIBLE;
  }
}

And on page with embed block has this Notice
Notice: Undefined index: type in check_markup2() (string 156 in file .../sites/all/modules/quickedit/includes/filter.inc).

Comments

andrii_svirin’s picture

Issue summary: View changes
devin carlson’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Assigned: andrii_svirin » Unassigned
Status: Active » Needs review
StatusFileSize
new1.2 KB

The check_markup2() function should check to see if a filter has a type specified before attempting to use it.

devin carlson’s picture

Status: Needs review » Fixed

Tested #2 and committed to Quick Edit 7.x-1.x.

  • Devin Carlson committed af1f446 on 7.x-1.x
    Issue #2392377 by Devin Carlson: Fixed check_markup2() does not check to...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.