# HG changeset patch # User bsw # Date 1591617506 -7200 # Node ID 56209dc74a9c70ac3203454efbb8f8861a992007 # Parent caaccdb20d0cdc41c7cc3347e5d03cc752fa0780 Added image upload to form diff -r caaccdb20d0c -r 56209dc74a9c env/ui/field/wysihtml.lua --- a/env/ui/field/wysihtml.lua Mon Jun 08 13:49:15 2020 +0200 +++ b/env/ui/field/wysihtml.lua Mon Jun 08 13:58:26 2020 +0200 @@ -5,6 +5,7 @@ { command = "italic", title ="CTRL+I", icon = "format_italic" }, { command = "createLink", icon = "insert_link" }, { command = "removeLink", icon = "insert_link", crossed = "\\" }, + { command = "insertImage", icon = "insert_image" }, { command = "formatBlock", command_value = "h1", icon = "title", head_level = "1" }, { command = "formatBlock", command_value = "h2", icon = "title", head_level = "2" }, { command = "formatBlock", command_value = "h3", icon = "title", head_level = "3" }, @@ -54,6 +55,23 @@ OK Cancel + +
+ + + OK Cancel +
+ ]]) slot.put([[ ]] .. _"expert editor (HTML)" .. [[ ]]) end }