debug:
small:
from here:
html += ’<a id="’ + id + ’_link" href="javascript:openBrowser(\’’ + id + ’\’,\’’ + target_form_element + ’\’, \’’ + type + ’\’,\’’ + option + ’\’);" onmousedown="return false;" class="browse">’;
to here:
html += ’<a id="’ + id + ’_link" href="javascript:openBrowser(\’’ + id + ’\’,\’’ + target_form_element + ’\’,\’’ + type + ’\’,\’’ + option + ’\’);" onmousedown="return false;" class="browse">’;
(if you can’t see the difference, it’s only a space (in here:
target_form_element + ’\’, \’’ + type + ) which will be encoded as %20
major:
from here:
<?php
public function setProperties(array $properties = array()) {
$browserAction = $this->_getBrowserAction();
$this->properties = array_merge(array(
'apply_source_formatting' => true,
'browserUrl' => $browserAction ? $this->modx->getOption('manager_url',null,MODX_MANAGER_URL).'?a='.$browserAction->get('id') : null,
to here:
<?php
public function setProperties(array $properties = array()) {
$browserAction = $this->_getBrowserAction();
$this->properties = array_merge(array(
'apply_source_formatting' => true,
'browserUrl' => $browserAction ? $this->modx->getOption('manager_url',null,MODX_MANAGER_URL).'index.php?a='.$browserAction->get('id') : null,
It’s only the additional
index.php
This is also answering the bug report here:
http://github.com/splittingred/TinyMCE/issues/issue/2/#comment_361476