From 557d599adf0bf21cecc50e424ee78007d9394977 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 30 Apr 2021 08:39:12 +0200 Subject: [PATCH 1/2] Do not emit events when setting editor content Fixes spaces being eater Signed-off-by: Thomas Citharel --- js/src/components/Editor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/components/Editor.vue b/js/src/components/Editor.vue index 200b51769..98d037077 100644 --- a/js/src/components/Editor.vue +++ b/js/src/components/Editor.vue @@ -419,7 +419,7 @@ export default class EditorComponent extends Vue { onValueChanged(val: string): void { if (!this.editor) return; if (val !== this.editor.getHTML()) { - this.editor.setContent(val); + this.editor.setContent(val, false); } } From cd70fd692ab08c7a4ad8f37b1de6e2bb81647e47 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 30 Apr 2021 09:25:13 +0200 Subject: [PATCH 2/2] Bump CI to node14 Signed-off-by: Thomas Citharel --- docker/tests/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index 3054bc371..ce413ee74 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -1,9 +1,9 @@ FROM elixir:latest LABEL maintainer="Thomas Citharel " -ENV REFRESHED_AT=2021-02-08 +ENV REFRESHED_AT=2021-04-30 RUN apt-get update -yq && apt-get install -yq build-essential inotify-tools postgresql-client git curl gnupg xvfb libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 cmake exiftool -RUN curl -sL https://deb.nodesource.com/setup_12.x | bash && apt-get install nodejs -yq +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash && apt-get install nodejs -yq RUN npm install -g yarn wait-on RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN mix local.hex --force && mix local.rebar --force