Kumi
db17637b9d
Adjusted the modal content in the editor's JavaScript to dynamically update based on the type of element being created, improving user interaction and feedback during the element creation process. The change includes fixing incorrect references to modal labels and contents, adding CSRF token support for form submissions, and dynamically showing/hiding buttons based on the context of the element creation. Additionally, event listeners are set up to handle different element types (Marker, Image, Teleport), further enhancing the user experience by tailoring the UI to the selected element type. This update aims to make the editor more intuitive and responsive to user actions, reducing potential confusion and improving the flow of creating various types of elements within the application. |
||
---|---|---|
.. | ||
editor | ||
scene | ||
api.js | ||
editor.js | ||
scene.js | ||
userarea.js |