Mercurial > libervia-web
annotate libervia/web/pages/blog/edit/_browser/__init__.py @ 1584:eab815e48795
browser (chat): message edition + extra menu:
- handle extra menu
- implement `quote` action
- last message correction
- show popup with last editions history when "editer" pencil icon is hovered
- up arrow let quickly edit last message
- implement input modes, `normal` being the default, `edit` or `quote` are new ones.
- [ESC] erase input and returns to `normal` mode
- fix size and set focus on message input when page is loaded
- fix identity retrieval on new messages
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Nov 2023 17:59:11 +0100 |
parents | eb00d593801d |
children |
rev | line source |
---|---|
1416 | 1 import editor |
2 | |
3 | |
4 editor.set_form_autosave("blog_post_edit") | |
1420
925a7c498cda
pages (blog/edit): move preview code to new `BlogEditor` class in `editor` module
Goffi <goffi@goffi.org>
parents:
1416
diff
changeset
|
5 editor.BlogEditor() |
1416 | 6 editor.TagsEditor("input[name='tags']") |