Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-03-05 18:15:36 +0300
committerdartcafe <github@dartcafe.de>2021-03-05 18:15:36 +0300
commit4a1dfbe0bfece87f60cdf0f79f2e6bf9c5649114 (patch)
treeb826e62d5e9fd4d1ba0e3472d5a3f2f5521f0bb6 /src/js/components/SideBar
parentff07d8d8c438442c9d3beb51ea1dd91b54af36ed (diff)
Support markdown for description, prohibit HTML
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/SideBar')
-rw-r--r--src/js/components/SideBar/SideBarTabConfiguration.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/components/SideBar/SideBarTabConfiguration.vue b/src/js/components/SideBar/SideBarTabConfiguration.vue
index a22672e4..abd6ea26 100644
--- a/src/js/components/SideBar/SideBarTabConfiguration.vue
+++ b/src/js/components/SideBar/SideBarTabConfiguration.vue
@@ -33,7 +33,7 @@
</ConfigBox>
<ConfigBox :title="t('polls', 'Description')" icon-class="icon-edit">
- <textarea v-model="pollDescription" />
+ <textarea v-model="pollDescription" class="edit-description" />
</ConfigBox>
<ConfigBox :title="t('polls', 'Poll configurations')" icon-class="icon-category-customization">
@@ -398,6 +398,10 @@ export default {
</script>
<style lang="scss" scoped>
+textarea.edit-description {
+ height: 210px;
+}
+
.selectUnit {
display: flex;
align-items: center;