Ticket #6791: 6791_2.patch

File 6791_2.patch, 547 bytes (added by Sa'ar Zac Elias, 10 years ago)
  • _source/core/editor_basic.js

     
    9797                {
    9898                        // Look for the element by id. We accept any kind of element here.
    9999                        element = document.getElementById( elementOrIdOrName );
     100                        if ( element && element.tagName.toLowerCase() == 'meta' )
     101                                element = null;
    100102
    101103                        // If not found, look for elements by name. In this case we accept only
    102104                        // textareas.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy