lib/ar/content/html.php 1 location
|
@@ 309-313 (lines=5) @@
|
306 |
|
$me = $context["arCurrentObject"]; |
307 |
|
$result = false; |
308 |
|
$contentEditable = ""; |
309 |
|
if (isset($node['attribs']['contenteditable'])) { |
310 |
|
$contentEditable = "contenteditable"; |
311 |
|
} else if (isset($node['attribs']['contentEditable'])) { |
312 |
|
$contentEditable = "contentEditable"; |
313 |
|
} |
314 |
|
if ($contentEditable) { |
315 |
|
$node['attribs']['ar:editable'] = $node['attribs'][$contentEditable]; |
316 |
|
unset($node['attribs'][$contentEditable]); |
lib/modules/mod_page.php 1 location
|
@@ 173-177 (lines=5) @@
|
170 |
|
public static function compileWorker(&$node) { |
171 |
|
$result = false; |
172 |
|
$contentEditable = ""; |
173 |
|
if (isset($node['attribs']['contenteditable'])) { |
174 |
|
$contentEditable = "contenteditable"; |
175 |
|
} else if (isset($node['attribs']['contentEditable'])) { |
176 |
|
$contentEditable = "contentEditable"; |
177 |
|
} |
178 |
|
if ($contentEditable) { |
179 |
|
$node['attribs']['ar:editable'] = $node['attribs'][$contentEditable]; |
180 |
|
unset($node['attribs'][$contentEditable]); |