quackscape/assets
Kumi 4043f031ab
refactor(editor.js): streamline element creation form generation
Replaced multiple specific functions for creating MarkerElement,
ImageElement, and TeleportElement forms in the editor with a single,
switch-based function titled createElementPropertiesForm. This
enhancement consolidates form generation logic, reducing redundancy and
improving maintainability. It dynamically generates input fields based
on the element type selected, simplifying future extensions or
modifications to element properties. Additionally, this refactoring
ensures a more consistent user experience by uniform handling of
different element types during creation and modification.

The new approach allows for easier addition of new element types and
their corresponding inputs, adhering to the DRY principle and promoting
code readability.
2024-03-28 11:06:14 +01:00
..
css feat: integrate media deletion and swap icon 2024-03-27 10:08:07 +01:00
js refactor(editor.js): streamline element creation form generation 2024-03-28 11:06:14 +01:00
scss feat: integrate media deletion and swap icon 2024-03-27 10:08:07 +01:00