Mercurial > libervia-web
annotate libervia/web/pages/blog/edit/_browser/__init__.py @ 1533:285c49d7aad3
_browser (template): add `media_type_main` and `media_type_sub` filters:
this is to follow main template module change, as string slicing is not done the same way
in jinja2 and nunjucks.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 22 Jun 2023 16:36:18 +0200 |
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']") |