The easiest way to get it to work is to use the JResponseJson class to handle the JSON ...
You should try to define the path with using Constants:
$button->set('link', JPATH_ROOT . '/plugins/editors-xtd/insertmystuff/insert_mystuff/mystuffplugin_dialog.php?e_name=' . $name);
$button->set('link', JPATH_SITE . '/plugins/editors-xtd/insertmystuff/insert_mystuff/mystuffplugin_dialog.php?e_name=' . $name);
You can also try with:
With Joomla core you need to setup a menu structure that will correspond to what you want to achieve with your URLs. Menus are important in Joomla.
From the example of the URLs in your question - it seems like you have created a menu item for the article1.
If you want all articles of that category (cat1) to be reachable under the cat1/article1,art2,art3 ...
Unfortunately there is nothing like this for Joomla 4 yet. With all the amount of work that's gone into it, there's not a major amount of documentation yet.
You can however use some other resources to help:
Potential backward compatibility issues in Joomla 4
Pull Requests for Joomla 4
Joomla 4 Docs
That said, as far as I'm aware, I don't believe there are ...
As it is explained in core.js: instead of using getContent() method you should use:
To get the current editor value:
Where jform_articletext means the textarea id and you have to change that value if your textarea id is something else. So in your case it could be for example:
Since you kindly provided the link to the source files, I have downloaded your full Kunena package (6.0 dev.) (for Joomla 4.x.x dev.) just to give it a try and my short conclusion is the following: (well done for this extension, it looks good by the way!)
As I wrote in my first comment I assumed that the problem is caused by the class name of the script ...
Ok, this is a bit hack-ish, but it can work:
Set article0 as a category itself, not as an article. Use the Category Description field to hold what you currently have as the article text.
Set article1-100 as articles in the category. That way /article0 is the category (Blog or List) page, and the rest are /article0/articlex as articles within that category....
A MySQL DELETE query doesn't have a column value between keywords DELETE and FROM.
There is also no benefit to declaring a table alias.
owner is a mysql keyword, but not a RESERVED keyword, so it doesn't need to be backtick-wrapped.
$db = Factory::getDBO();
$query = $db->getQuery(true)
The view is created from the code in ..\administrator\components\com_menus\views\item\tmpl starting with edit.php and your particular tab would be edit_modules.php
I got there by decoding your URL, administrator/index.php?option=com_menus&view=item&client_id=0&layout=edit&id=101 and knowing it would be under /components and /tmpl
It does ...