This topic lists the known issues and limitations of the igHtmlEditor
™ control.
The following topics are prerequisites to understanding this topic:
The following table summarizes the known issues and limitations of the igHtmlEditor
control. Detailed explanations of known issues and the possible workarounds are provided for some of the issues in the following summary table.
Workaround available | |
No known workaround | |
Fix planned |
Feature | Description | Status |
---|---|---|
Tables and images cannot be resized in WebKit-based browsers (Chrome, Safari, etc). | There are no resize handles for tables when the IFRAME BODY has the contenteditable attribute set to true. Here you can find bug details in the Chromium tracker. | |
Cut, Copy, and Paste toolbar functionality works only in Internet Explorer | Internet Explorer has an API for Cut, Copy and Paste functionality while other browsers provide limited or no support. | |
In Internet Explorer, PRE element borders stay visible even after PRE elements go outside of the editor viewport. | When scrolling the igHtmlEditor contents in Internet Explorer with a PRE element selected in design view, the element’s resize border stays visible even after the PRE element scrolls outside of the editor viewport. | |
In Firefox, Symbol, Webdings, and Wingdings fonts are rendered differently than on other browsers. | In Firefox, Symbol, Webdings, and Wingdings fonts are rendered differently than on the other browsers. | |
In Firefox, if the igHtmlEditor is used in an HTML form with input fields after it, when pressing F5 the input fields are filled with the text from the combo boxes. | In Firefox, if the igHtmlEditor is used in an HTML form with input fields after it which don’t have name attribute defined, when pressing F5 the input fields are filled with the text from the Font name, Font size and Headings combo boxes. | |
When an igHtmlEditor is used inside an igDialog, the editor is not sized correctly | When an igHtmlEditor is used inside the igDialog and its width and/or height is set to percentages, the editor is not sized correctly because the dialog is not yet created and the igHtmlEditor dimensions cannot be calculated correctly. | |
Hyperlinks cannot be opened in Internet Explorer. | Right clicking on a link in IE won't list options to open it. Also "CTRL + click" won't open it. | |
In Internet Explorer 6-10 the undo/redo functionality is not consistent. | The undo/redo functionality is achieved through the native browser implementation. In IE the undo/redo buffer is reset when elements are inserted or deleted programmatically. Features like "Dom path toolbar" depend on such functionality, that's why some actions reset the undo/redo buffer. | |
In Internet Explorer tables added through the view source mode should not have new lines in them. | New lines in the table elements causes exceptions when using IE selection and range api. | |
Internet Explorer multiple dropdown style selection | In Internet Explorer when a range is collapsed(no selection), selecting multiple styles from the editor dropdowns will not persist the previously selected styles. |
For other browsers like Firefox, Chrome, Safari, and Opera, you can use keyboard shortcuts like Ctrl+C, Ctrl+X, Ctrl+V.
You should use UTF character numeric references instead. You can find more information in the Mozilla Web Developer FAQ.
As a workaround you can clear the text of the INPUT elements after initializing the igHtmlEditor
.
Example:
In JavaScript:
$.ig.loader(function () {
$("#htmlEditor").igHtmlEditor({
width: "100%"
});
$("#forumAnswer input[type='text']").val("");
});
In HTML:
<form id="forumAnswer" action="/SaveAnswer" method="post">
<input type="text" name="username"></input>
<div id="htmlEditor"></div>
<input type="text" name="tags"></input>
</form>
In the example above, all INPUT elements in the FORM named "formAnswer" are cleared after the igHtmlEditor
is initialized.
If you want finer control on clearing the INPUT elements, use a container element or directly reference the INPUTs by name or id.
Note: This behavior is not observed on initial loading of the page, but on refreshing the page with F5. The issue occurs with INPUT elements in the same FORM element as the
igHtmlEditor
that do not have a name attribute defined.
It is recommended to initialize the igHtmlEditor
after the igDialog
is opened in order to avoid any auto-sizing issues.
Example:
In JavaScript:
$.ig.loader(function () {
$("#dialog").igDialog({width: 900, height: 600, state: "closed"});
$("#openDialogButton").bind("click", function() {
$("#dialog").igDialog("open");
$("#htmlEditor").igHtmlEditor({
width: "100%",
height: "100%"
});
});
});
The following topics provide additional information related to this topic.
Accessibility Compliance(igHtmlEditor): This topic explains the accessibility features of the igHtmlEditor
and gives information on how to achieve accessibility compliance for pages containing igHtmlEditor
.
Accessibility Compliance: Provides reference information for accessibility compliance of all Ignite UI for jQuery controls.
View on GitHub