Drupal Trick: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Editor Configuration == To install ckeditor replace in ./sites/all/modules/wysiwyg/editors/ckeditor.inc <pre>if (preg_match('@version:\'(?:CKEditor )?([\d\.]+)(?:.+revision...") |
(No difference)
|
Latest revision as of 17:26, 21 October 2014
Editor Configuration
To install ckeditor replace in ./sites/all/modules/wysiwyg/editors/ckeditor.inc
if (preg_match('@version:\'(?:CKEditor )?([\d\.]+)(?:.+revision:\'([\d]+))?@', $line, $version)) {
with
if (preg_match('@version:[\"|\'](?:CKEditor )?([\d\.]+)(?:.+revision:[\"|\']([\d]+))?@', $line, $version)) {