[Rt-commit] rt branch 5.0/ckeditor-mobile created. rt-5.0.4-32-gd726f8381b
BPS Git Server
git at git.bestpractical.com
Wed Jun 21 14:43:57 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 d726f8381bd22e8288f99beea80dc0c6c8b1fbb6 (commit)
- Log -----------------------------------------------------------------
commit d726f8381bd22e8288f99beea80dc0c6c8b1fbb6
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
diff --git a/share/static/js/util.js b/share/static/js/util.js
index 32fb5b0fd2..c546632991 100644
--- a/share/static/js/util.js
+++ b/share/static/js/util.js
@@ -355,11 +355,6 @@ 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 )
- return false;
// replace all content and signature message boxes
var allTextAreas = document.getElementsByTagName("textarea");
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list