From a8bc741883df9b03d94c2a080a79cb88a40272fb Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Mon, 25 Jan 2021 14:34:35 +0100 Subject: [PATCH] added uikit markup for vim editor (wymeditor) --- winixd/html/fun_vim.html | 83 +++++++++++++---------- winixd/html/index_head_functions_add.html | 13 ++-- 2 files changed, 54 insertions(+), 42 deletions(-) diff --git a/winixd/html/fun_vim.html b/winixd/html/fun_vim.html index 6c6486b..a5e2a63 100644 --- a/winixd/html/fun_vim.html +++ b/winixd/html/fun_vim.html @@ -3,44 +3,55 @@ [if item_is]

{edit}

[else]

{add}

[end] -
-
- {form_emacs_legend} - - [if mount_type_is "cms"] -

{title}:

- - -

{suggested_url}:

- + + + + [if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]] +
+ +
+ +
+
+ +
+ +
+ +
+
[end] + +
+ [if mount_type_is "cms"][end] + [if mount_type_is "thread"][end] + [if mount_type_is "ticket"][end] + - [if any [mount_type_is "thread"] [thread_mount_arg_is "subject"]] -

{title}:

- - -

{suggested_url}:

- - [end] +
+ +
+ +
- [if mount_type_is "cms"]

{form_emacs_content_cms}

[end] - [if mount_type_is "thread"]

{form_emacs_content_thread}

[end] - [if mount_type_is "ticket"]

{form_emacs_content_ticket}

[end] - - - - - - [if winix_function_param_is "full"] - [else] - [end] +
+ +
[if not user_logged] -

{nick}:

- - -

{rebus_how_is_it} [rebus_question]?

- +
+ +
+ +
+
+ +
+ +
+ +
+
[include "antispam.html"] [end] @@ -49,8 +60,10 @@ [end] - -
+
+ +
+
diff --git a/winixd/html/index_head_functions_add.html b/winixd/html/index_head_functions_add.html index ec7ef02..db867d7 100644 --- a/winixd/html/index_head_functions_add.html +++ b/winixd/html/index_head_functions_add.html @@ -130,15 +130,14 @@ cm.save() [if winix_function_is "vim"] -[# this editor doesn't work on different domains by default, solution: http://forum.wymeditor.org/forum/viewtopic.php?f=2&t=731&p=2507#p2504 ] -[# you should add one file to winix: wymiframe.html ] + + [# info from version 0.5-rc1: this editor doesn't work on different domains by default, solution: http://forum.wymeditor.org/forum/viewtopic.php?f=2&t=731&p=2507#p2504 ] + [# you should add one file to winix: wymiframe.html ] [def winix_has_jquery "true"] - - - - - + + + [end]