(e)
| 324 | // For IE and for browsers where contentEditable is supported but |
| 325 | // isContentEditable is not, traverse up the ancestors: |
| 326 | function legacyIsContentEditable(e) { |
| 327 | if (e.contentEditable == 'inherit') { |
| 328 | var parent = bot.dom.getParentElement(e); |
| 329 | return parent ? legacyIsContentEditable(parent) : false; |
| 330 | } else { |
| 331 | return e.contentEditable == 'true'; |
| 332 | } |
| 333 | } |
| 334 | return legacyIsContentEditable(element); |
| 335 | }; |
| 336 |