*/ protected function get_default_settings(): array { return [ 'label_block' => true, // Media-library `type` filter, e.g. Utils::modelLibraryTypes(); empty shows every file. 'library' => [], ]; } /** * Render the control output template in the editor. * * The markup is static: the preview, the button label and the clear button * are driven by controls.js from the current value. Re-rendering the whole * control on every keystroke would move focus out of the URL field. */ public function content_template(): void { $control_uid = $this->get_control_uid(); ?>