Skip to content

Conversation

@manuelkiessling
Copy link
Member

No description provided.

- Basic changes to Stimulus controller
- Integrated placeholder area for HTML editor
- Implemented entire functionality of HTML editor
- Chat area and HTML editor area now switch visibility when activated
- Close/open animation of chat area and HTML editor area now smoothly animated
const editLink = document.createElement("a");
editLink.href = "#";
editLink.className =
"text-dark-500 hover:text-primary-600 dark:text-dark-400 dark:hover:text-primary-400 transition-colors";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure this doesn't reinvent link styling with low-level Tailwind if ready-made styles for this exist in the webui Living Styleguide.

loadError: 'editor.html_editor_load_error'|trans
}
}) }}
data-action="html-editor:open->html-editor#openEditor"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be written as stimulus_action (see Symfony UX Twig Components / Stimulus Bridge documentation), but might not work for non-default Stimulus actions.

Copy link
Member Author

@manuelkiessling manuelkiessling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but definitely needs some tests, at least unit and frontend.

- Hartkodierten Teilpfad entfernt
- Used an icon from Heroicons for 'edit'
- Added new class for icon links from WebUI bundle
@manuelkiessling manuelkiessling changed the title Feature/issue 58 html editor Feature: HTML editor Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants