Feature #17784 ยป rtehtmlarea_feature_6705.patch
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (working copy) | ||
---|---|---|
if (el.className) {
|
||
txtClass = "";
|
||
cls = el.className.trim().split(" ");
|
||
for(j = cls.length; j > 0;) {
|
||
if(!HTMLArea.reservedClassNames.test(cls[--j])) { txtClass = "." + cls[j]; }
|
||
for (j = 0; j < cls.length; ++j) {
|
||
if (!HTMLArea.reservedClassNames.test(cls[j])) {
|
||
txtClass += "." + cls[j];
|
||
}
|
||
}
|
||
txt += txtClass;
|
||
}
|