[Rt-commit] rt branch 5.0/ckeditor-mobile created. rt-5.0.4-32-g17ac647d47
BPS Git Server
git at git.bestpractical.com
Wed Jun 21 22:54:59 UTC 2023
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/ckeditor-mobile has been created
at 17ac647d472afba22dc2d8e0ba33e3dcf17d2395 (commit)
- Log -----------------------------------------------------------------
commit 17ac647d472afba22dc2d8e0ba33e3dcf17d2395
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Jun 21 10:35:01 2023 -0400
Remove mobile restrictions for CKEditor
The current version of CKEditor 4 in RT supports mobile
browsers, so remove the restriction and allow it to load.
https://ckeditor.com/docs/ckeditor4/latest/guide/dev_browsers.html#a-word-about-mobile-environments
Fixes: I#37633
diff --git a/share/static/js/util.js b/share/static/js/util.js
index 32fb5b0fd2..06e406595d 100644
--- a/share/static/js/util.js
+++ b/share/static/js/util.js
@@ -354,11 +354,7 @@ function textToHTML(value) {
CKEDITOR_BASEPATH=RT.Config.WebPath + "/static/RichText/";
function ReplaceAllTextareas() {
- var sAgent = navigator.userAgent.toLowerCase();
- if (!CKEDITOR.env.isCompatible ||
- sAgent.indexOf('iphone') != -1 ||
- sAgent.indexOf('ipad') != -1 ||
- sAgent.indexOf('android') != -1 )
+ if (!CKEDITOR.env.isCompatible )
return false;
// replace all content and signature message boxes
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list