From 32e79d323df4a7e7a114637be0e8054202ea3725 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 9 Jul 2021 18:53:27 +0530 Subject: [PATCH] add support for tabs in ckeditor and leave a note about the challenges of accessibility here --- www/pad/inner.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/pad/inner.js b/www/pad/inner.js index 304e9abe4..95e7c1bff 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -1326,6 +1326,11 @@ define([ })); $(waitFor()); }).nThen(function(waitFor) { + // TODO this breaks users' ability to tab out of the editor + // but that's a problem in other editors and nobody has complained so far + // so we'll include this as-is for now while we search for a good pattern + // addresses this issue more generally + Ckeditor.config.tabSpaces = 4; Ckeditor.config.toolbarCanCollapse = true; Ckeditor.config.language = Messages._getLanguage(); if (screen.height < 800) {