Jefferson49 / Joomla_plugin_sexypolling_reloaded

Migration of the joomla plugin "Sexy Polling" to joomla 4.x
GNU General Public License v3.0
2 stars 3 forks source link

Add a button to the article editor in order to embed polls into articles #89

Closed Jefferson49 closed 5 months ago

Jefferson49 commented 5 months ago

In #86, a new feature was proposed to add a button to the article editor in order to embed polls into articles.

The button could look simular to the module button.

Joomla 3 Joomla button extension-xtd Joomla 3

Joomla 4/5 Joomla button extension-xtd

Jefferson49 commented 5 months ago

How is the existing module button (or menu entry) implemented?

The module button is a Joomla plugin in the group "editors-xtd": https://github.com/joomla/joomla-cms/blob/5.0-dev/plugins/editors-xtd/module/module.xml#L2

If the button is pressed, the "com_modules" component is openened in a modal: https://github.com/joomla/joomla-cms/blob/5.0-dev/plugins/editors-xtd/module/src/Extension/Module.php#L59

Jefferson49 commented 5 months ago

Main functionality implemented with: dc15d8b1

Issue with filter for polls in editor modal fixed with: 2f44fe3