Loading blocks from CKEditor not working

Created on 20 January 2023, almost 2 years ago
Updated 7 August 2023, over 1 year ago

Problem/Motivation

Hi,

I followed the different steps to create a tooltip from CKEditor from a custom block.
The "From Block" select list field is always empty even if many custom blocks exist.

Steps to reproduce

Follow the different steps to install the module, to create a custom block and to use it via a tooltip from CKEditor.

Proposed resolution

File EditorTooltipDialog.php, line 86:

$tooltip_blocks = $content_blocks = [];

I don't know why this line has been added, it just empties the 2 db requests made just above to retrieve the custom blocks.

Maybe a remain from some testing.

Remaining tasks

Remove that line/review the file

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024