v1.0
只读模式 group, 分享 评论更多问题 博客标签总是存在一个
This commit is contained in:
6
public/tinymce/classes/ui/Panel.js
Normal file → Executable file
6
public/tinymce/classes/ui/Panel.js
Normal file → Executable file
@ -42,14 +42,14 @@ define("tinymce/ui/Panel", [
|
||||
self.preRender();
|
||||
layout.preRender(self);
|
||||
|
||||
if (typeof(innerHtml) == "undefined") {
|
||||
if (typeof innerHtml == "undefined") {
|
||||
innerHtml = (
|
||||
'<div id="' + self._id + '-body" class="' + self.classes('body') + '">' +
|
||||
layout.renderHtml(self) +
|
||||
'</div>'
|
||||
);
|
||||
} else {
|
||||
if (typeof(innerHtml) == 'function') {
|
||||
if (typeof innerHtml == 'function') {
|
||||
innerHtml = innerHtml.call(self);
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ define("tinymce/ui/Panel", [
|
||||
}
|
||||
|
||||
return (
|
||||
'<div id="' + self._id + '" class="' + self.classes() + '" hideFocus="1" tabIndex="-1">' +
|
||||
'<div id="' + self._id + '" class="' + self.classes() + '" hidefocus="1" tabindex="-1" role="group">' +
|
||||
(self._preBodyHtml || '') +
|
||||
innerHtml +
|
||||
'</div>'
|
||||
|
Reference in New Issue
Block a user