Developer diary: Quote buttons and javascript update
Hello user,
Quote button
At the request of some users, a quote button has been added to the article detail pages (it can also be found in the article menu). We have also changed the icon to make it easier to see when you are quoting.
Highlighting text anywhere now also works for quoting. Once the text is highlighted (it does not need to be copied), simply click the 'Quote' icon in the comment, post, or directly in the comment edit box, and the highlighted text will be quoted. This should now work on all browsers.
Javascript vs. jQuery
I have started to replace the previous jQuery scripts on the details page with pure javascript scripts. The goal is to remove jQuery in the long run. On the one hand this is for security reasons and on the other hand we want to have less dependencies in the source code. Also, looking to the future, pure JavaScript is now easier and faster to work with than jQuery, which changes its commands and APIs quite frequently. Node.js is also becoming more interesting to us.
As a lot of JavaScript code has been replaced or rewritten, errors can occur. This applies to all areas where comments or posts are updated or added, images are added or deleted, quoted, rated, etc.
If there is any deviation from the previous behaviour when creating a post or comment, please let me know as soon as possible.
As always, all other changes and new features can be found in our release notes.
I hope you like the changes and look forward to your feedback or a click on the heart ❤️
Best regards
Frank
Quote button
At the request of some users, a quote button has been added to the article detail pages (it can also be found in the article menu). We have also changed the icon to make it easier to see when you are quoting.
Highlighting text anywhere now also works for quoting. Once the text is highlighted (it does not need to be copied), simply click the 'Quote' icon in the comment, post, or directly in the comment edit box, and the highlighted text will be quoted. This should now work on all browsers.
Javascript vs. jQuery
I have started to replace the previous jQuery scripts on the details page with pure javascript scripts. The goal is to remove jQuery in the long run. On the one hand this is for security reasons and on the other hand we want to have less dependencies in the source code. Also, looking to the future, pure JavaScript is now easier and faster to work with than jQuery, which changes its commands and APIs quite frequently. Node.js is also becoming more interesting to us.
As a lot of JavaScript code has been replaced or rewritten, errors can occur. This applies to all areas where comments or posts are updated or added, images are added or deleted, quoted, rated, etc.
If there is any deviation from the previous behaviour when creating a post or comment, please let me know as soon as possible.
As always, all other changes and new features can be found in our release notes.
I hope you like the changes and look forward to your feedback or a click on the heart ❤️
Best regards
Frank
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 31315582697
Url: https://administrator.de/en/developer-diary-quote-buttons-and-javascript-update-31315582697.html
Ausgedruckt am: 21.12.2024 um 12:12 Uhr