Révision 6fd71452
Ajouté par Julien Enselme il y a environ 10 ans
drupal7/sites/all/modules/ckeditor/plugins/media/plugin.js | ||
---|---|---|
27 | 27 |
data.node = data.node.$; |
28 | 28 |
} |
29 | 29 |
if (selection.getType() == CKEDITOR.SELECTION_TEXT) { |
30 |
if (CKEDITOR.env.ie) { |
|
31 |
data.content = selection.getNative().createRange().text; |
|
32 |
} |
|
33 |
else { |
|
34 |
data.content = selection.getNative().toString(); |
|
35 |
} |
|
30 |
data.content = selection.getSelectedText(); |
|
36 | 31 |
} |
37 | 32 |
else if (data.node) { |
38 | 33 |
// content is supposed to contain the "outerHTML". |
Formats disponibles : Unified diff
Update CKEditor