From ef6614a9b3a0c4438d16cad6e73afc81a8f2604d Mon Sep 17 00:00:00 2001
From: Thomas Marstrander <marstranderthomas@gmail.com>
Date: Wed, 13 Mar 2019 14:26:04 +0100
Subject: [PATCH] Add default language to editor

Update editor submodule with language changes
---
 editor       | 2 +-
 locallib.php | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/editor b/editor
index d10713e..7a8999a 160000
--- a/editor
+++ b/editor
@@ -1 +1 @@
-Subproject commit d10713e5e1b36c2cd628398b4a2674af3409719f
+Subproject commit 7a8999adf46d4b1ff859ab33818e5a0fa22ca8de
diff --git a/locallib.php b/locallib.php
index b72f362..1500a66 100644
--- a/locallib.php
+++ b/locallib.php
@@ -197,7 +197,8 @@ function hvp_add_editor_assets($id = null) {
       'metadataSemantics' => $contentvalidator->getMetadataSemantics(),
       'assets' => $assets,
       // @codingStandardsIgnoreLine
-      'apiVersion' => H5PCore::$coreApi
+      'apiVersion' => H5PCore::$coreApi,
+      'language' => $language,
     );
 
     if ($id !== null) {
-- 
GitLab