We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10973ee commit 0db225fCopy full SHA for 0db225f
services/static-webserver/client/source/class/osparc/conversation/AddMessage.js
@@ -91,6 +91,13 @@ qx.Class.define("osparc.conversation.AddMessage", {
91
}
92
case "comment-field":
93
control = new osparc.editor.MarkdownEditor();
94
+ control.addListener("keydown", e => {
95
+ if (e.isCtrlPressed() && e.getKeyIdentifier() === "Enter") {
96
+ this.__addComment();
97
+ e.stopPropagation();
98
+ e.preventDefault();
99
+ }
100
+ }, this);
101
control.getChildControl("buttons").exclude();
102
const layout = this.getChildControl("add-comment-layout");
103
layout.add(control, {
0 commit comments