From e3cc0aaf3528dca57f7bc8ee948b4329acd7126d Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 17 Sep 2022 15:37:11 +0900 Subject: [PATCH] [+] add rich_editor function as CoreAttrs to edit directly on double click on text with reference on table_name, column to edit and id of the row --- tools/rich_editor.anubis | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+), 0 deletions(-) create mode 100644 tools/rich_editor.anubis diff --git a/tools/rich_editor.anubis b/tools/rich_editor.anubis new file mode 100644 index 0000000..adad40b --- /dev/null +++ b/tools/rich_editor.anubis @@ -0,0 +1,21 @@ +/* + * Created by PyramIDE. + * User: フランスのトトロ aka (David RENÉ) + * Date: 08/09/2022 + * Time: 23:04 + * © David RENÉ + */ + + +transmit xlib/web/making_a_web_site.anubis + +public define CoreAttrs + rich_editor + ( + String html_id, + String table_name, + String column, + DB_id db_id + )= + event(ondblclick,"rich_text_edit('"+html_id+"', '"+table_name+"', '"+column+"', '"+db_id+"');") +. -- libgit2 0.21.4