Forum

Thread tagged as: Error

SimpleMDE custom config

Hello,

I'm able to add custom configurations to Redactor and MarkItUp, but not SimpleMDE:

Perch.UserConfig.redactor = function(){
  // redactor config works
}();

Perch.UserConfig.markitup = function(){
  // markitup config works
}();

Perch.UserConfig.simplemde = function(){
  // simplemde config doesn't work
}();

It seems Perch doesn't check for Perch.UserConfig.simplemde and always uses the default config.

Thanks

Perch Runway: 3.1.3, PHP: 7.1.20-1+0~20180910100430.3+jessie~1.gbp17c613, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $, with PDO
Server OS: Linux, fpm-fcgi
Installed apps: content (3.1.3), assets (3.1.3), categories (3.1.3), jaygeorge_perch_admin_style (1), perch_blog (5.6.1), chirp_seo (1.4)
App runtimes: <?php $apps_list = [ 'perch_blog', 'chirp_seo', ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/87189.cloudwaysapps.com/ebbyqmeqza/public_html/perch
PERCH_CORE: /home/87189.cloudwaysapps.com/ebbyqmeqza/public_html/perch/core
PERCH_RESFILEPATH: /home/87189.cloudwaysapps.com/ebbyqmeqza/public_html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 10M, Max POST 10M, Memory: 128M, Total max file upload: 10M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
DOCUMENT_ROOT: /home/87189.cloudwaysapps.com/ebbyqmeqza/public_html/
HTTP_HOST: grabapipit.com
Hussein Al Hammad

Hussein Al Hammad 105 points

  • 2 years ago