I'm developing an extension for our maths forum. I want to integrate an online latex equation editor so that writing mathematical formulae is easier. However, I'm having problem with the following: I want the written equation in the pop - up editor to be submitted to the posting_body form when copied. I cannot do that. I'd like some help to implement that part.
The extension can be downloaded from here. Apparently I cannot upload a zip file.
The only extension that comes to mind that does something similar is the Advanced BBCode extension with adding links. It might be worth looking as to how that is done.
There may be other extensions doing the same.
David Remember: You only know what you know and - you don't know what you don't know! My CDB Contributions | How to install an extension I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic. No support requests via PM or email as they will be ignored
I have that extension enabled in my board. How does this extension do that? Could you give me a kick in the right direction to know what to look for?
I don't know - you will have to look into the code
David Remember: You only know what you know and - you don't know what you don't know! My CDB Contributions | How to install an extension I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic. No support requests via PM or email as they will be ignored
You can not upload zip files, as phpBB does not want to host extensions that are not validated, to prevent confusion and issues.
You can have a look at the editor.js file (github link) to find most of the functions used with BBCodes insertion.
For example, when submitting your popup, you can use insert_text() to insert the text into the textarea.