Pending Review
Last Updated: 13 Feb 2018 12:34 by Gabriel
Created on: 13 Feb 2018 12:34
Category: UI for ASP.NET AJAX
Type: Bug Report
fix isblockelement not checking for some common block elements
When adding formatting to texts while selecting whole elements, some elements are not included in `isBlockElement` function such as <col> or <colgroup> in a way those elements get wrapped in formatting tags such as <strong>

How to Reproduce:

   Create a table in editor

  <span>Outside text</span>
            <td>Inside text</td>

Select the inside text and outsite text in editor and click for applyng BOLD for instance.

colgroup tag gets wrapped in <strong> tags.

Some of html5 tags are missing from the isblockelement check as well such as 'article', 'aside', 'audio', 'canvas', 'details', 'figcaption', 'figure', 'footer', 'header', 'hgroup', 'nav', 'output', 'section', 'video'