- Issue created by @ravi kant
- Status changed to Fixed
11 months ago 1:18pm 5 January 2024 - 🇩🇪Germany vincent.hoehn Dresden, Germany
Hi @ravi kant. You can simply add as many templates as you like in the attached JSON file. For example:
[ { "title": "Link", "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.10 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z\"/></svg>", "description": "Insert a link to the CKEditor 5 Template plugin.", "html": "<p>Do you know the cool <a href='https://www.drupal.org/project/ckeditor5_template' target='_blank'>CKEditor 5 Template plugin</a>?</p>" }, { "title": "Link 2 ", "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.10 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z\"/></svg>", "description": "Insert a link to the CKEditor 5 Template plugin.", "html": "<p>Do you know the cool <a href='https://www.drupal.org/project/ckeditor5_template' target='_blank'>CKEditor 5 Template plugin</a>?</p>" }, ]
- 🇮🇳India ravi kant Jaipur
@vincent.hoehn
Thank you for quick reply.
Actually i was confused due to i was not scrolling the template dropdown so i was not finding other templates.Is possible to increase height of templates list dropdown?
- 🇩🇪Germany vincent.hoehn Dresden, Germany
@ravi kant
At first, I wondered how you came to this view. Do you access your Drupal site with a smartphone or tablet?
You can't see a scrollbar because the CKEditor has no space to display it due to the small area.
Surely you can try to set a minimum height for the scrollbar (dropdownview) via CSS, but I don't know if that works. - 🇩🇪Germany dbielke1986
I get the same behavior when I use the table button, for example. As soon as a button slides into the extended module, the height is limited.
In my opinion, this is not an issue with the module, but with the theme.
How do you see it?
- 🇮🇳India ravi kant Jaipur
@vincent.hoehn
I am checking on MAC viewport 1440 × 735.Also I think the issue is related to ckEditor style.
Thank you @vincent.hoehn @dbielke1986
Automatically closed - issue fixed for 2 weeks with no activity.