diff options
author | Kuersat Akmaz | 2021-01-20 23:22:36 +0100 |
---|---|---|
committer | Kuersat Akmaz | 2021-01-20 23:22:36 +0100 |
commit | aa6171bb063c917d210f750a7077869430d8bdc7 (patch) | |
tree | e94864bb4b8089bdd7811036899ed8127259e58a | |
parent | [client] improved htmleditor in imageMetadataPage (diff) | |
download | tutor-module-feature/htmlEditorInDescrioptionText.tar.gz tutor-module-feature/htmlEditorInDescrioptionText.tar.xz tutor-module-feature/htmlEditorInDescrioptionText.zip |
[client] added improved documentation for editorfeature/htmlEditorInDescrioptionText
Added comments for better maintainance
issue : #3727
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java | 5 | ||||
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java index 115864c9..f237e8bc 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java @@ -279,6 +279,7 @@ public class ImageDetailsWindow extends ImageDetailsWindowLayout implements UiFe } }); + // change between html and Wysiwyg btnWysiwyg.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { @@ -309,7 +310,9 @@ public class ImageDetailsWindow extends ImageDetailsWindowLayout implements UiFe } } }); - + + // insertion of <br> in needed because textpane is not able to + // to insert <br> when enter is pressed. txtDescription.addKeyListener(new KeyListener() { @Override public void keyPressed(KeyEvent e) { diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java index 33d5f164..b0f9e5fc 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/LectureDetailsWindow.java @@ -316,7 +316,7 @@ public class LectureDetailsWindow extends LectureDetailsWindowLayout implements } }); - + // change button for html to Wysiwyg btnWysiwyg.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { |