diff --git a/src/Plugin/CKEditorPlugin/ReferenceFootnotes.php b/src/Plugin/CKEditorPlugin/ReferenceFootnotes.php index 8c9c96e..8beb2b7 100644 --- a/src/Plugin/CKEditorPlugin/ReferenceFootnotes.php +++ b/src/Plugin/CKEditorPlugin/ReferenceFootnotes.php @@ -88,7 +88,8 @@ class ReferenceFootnotes extends CKEditorPluginBase { print_r($ref_id); $build = $view_builder->view($ref_item, 'citation'); $output = trim(strip_tags(render($build))); - $options[] = [$output, $ref_id]; + //$options[] = [$output, $ref_id]; + $options[] = [$output, $output]; } return ['referenceFootnotes_list' => $options];