|
|
|
@ -712,14 +712,14 @@ define([
|
|
|
|
|
var href = el.getAttribute('href');
|
|
|
|
|
if (/^#/.test(href)) {
|
|
|
|
|
try {
|
|
|
|
|
$inner.find('.cke_anchor[data-cke-realelement]').each(function (i, el) {
|
|
|
|
|
$inner.find('.cke_anchor[data-cke-realelement]').each(function (j, el) {
|
|
|
|
|
var i = editor.restoreRealElement($(el));
|
|
|
|
|
var node = i.$;
|
|
|
|
|
if (node.id === href.slice(1)) {
|
|
|
|
|
el.scrollIntoView();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} catch (e) {}
|
|
|
|
|
} catch (err) {}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (href) {
|
|
|
|
|