Problems I encountered.
Your plugin, written in pure language, creates the following problems:
1 How can I determine or recognize that this is a new plugin written in Javascript? To enable additional functions. Maybe some kind of fake element.
2 Can you add an external event listener for your plugin? So as not to add additional event handlers and not resolve it all with bones.
3 The plugin completely replaces the entire fakeDynamicForm block - this is a convenient but not correct approach. Because, for example, we have built a block for an attachment, but it is destroyed by the plugin. And I have to rebuild my own piece of code for each of your handlers. You are essentially changing one parameter. Why is it impossible to rebuild the structure for only one element?
My name is Roman and I am the founder and developer of themes for redmine - https://redmine-evolution.com/.
You may have seen our themes )
Problems I encountered. Your plugin, written in pure language, creates the following problems: 1 How can I determine or recognize that this is a new plugin written in Javascript? To enable additional functions. Maybe some kind of fake element. 2 Can you add an external event listener for your plugin? So as not to add additional event handlers and not resolve it all with bones. 3 The plugin completely replaces the entire fakeDynamicForm block - this is a convenient but not correct approach. Because, for example, we have built a block for an attachment, but it is destroyed by the plugin. And I have to rebuild my own piece of code for each of your handlers. You are essentially changing one parameter. Why is it impossible to rebuild the structure for only one element?