projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee97dc8
)
Roo/HtmlEditorCore.js
author
Alan
<alan@roojs.com>
Mon, 3 Jan 2022 06:53:02 +0000
(14:53 +0800)
committer
Alan
<alan@roojs.com>
Mon, 3 Jan 2022 06:53:02 +0000
(14:53 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
9689931
..
78f3e14
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-123,6
+123,11
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
*
*/
stylesheets: false,
+ /**
+ * @cfg {String} language default en - language of text (usefull for rtl languages)
+ *
+ */
+ language: false,
/**
* @cfg {boolean} allowComments - default false - allow comments in HTML source
@@
-1425,6
+1430,13
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
},
+
+ updateLanguage : function()
+ {
+ Roo.get(_this.ifream.content.body).attr("lang", this.lang);
+ },
+
+
removeStylesheets : function()
{
var _this = this;