Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
645
Can't hide toolbars when creating editor
posted

When I updated to 14.1 I am no longer able to hide toolbars when creating an editor.  I can still hide them via the igHtmlEditor('option',...) but when doing this my editor is too high because there was room taken up from the visible editors at the start.  The code I have below is a brand new test project.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div id="htmlEditor"></div>

<script src="scripts/jquery-1.9.1.min.js"></script>
<script src="scripts/jquery-ui-1.10.3.min.js"></script>
<script src="scripts/infragistics/infragistics.loader.js"></script>
<script>

$(function () {
$.ig.loader(
{
scriptPath: '/Scripts/infragistics/',
cssPath: '/Content/',
resources: "igHtmlEditor",
ready: function () {
$("#htmlEditor").igHtmlEditor({
width: "100%",
showCopyPasteToolbar: false,
showInsertObjectToolbar: false
});
}
});
});
</script>
</body>
</html>