Hi all,
I'm importing Kendo's Editor into a fresh react project and styling with default theme. There is a large white space area at the top of the editor content area that I cannot get rid of. Any idea what's causing this?
App created using npx create-react-app.
Editor: 5.3.0
Kendo-theme-default: 5.5.0
import '@progress/kendo-theme-default/dist/all.css';
import { Editor, EditorTools } from "@progress/kendo-react-editor";
const {
Bold,
Italic,
Underline,
AlignLeft,
AlignRight,
AlignCenter,
Indent,
Outdent,
OrderedList,
UnorderedList,
Undo,
Redo,
Link,
Unlink,
} = EditorTools;
const content = `<p>The KendoReact Editor allows your users to edit HTML in a familiar, user-friendly way.<br />The Editor provides the core HTML editing engine, which includes text formatting, hyperlinks, and lists. The component <strong>outputs identical HTML</strong> across all major browsers, follows accessibility standards, and provides API for content manipulation.</p><p>Features include:</p><ul><li><p>Text formatting</p></li><li><p>Bulleted and numbered lists</p></li><li><p>Hyperlinks</p></li><li><p>Cross-browser support</p></li><li><p>Identical HTML output across browsers</p></li></ul>`;
const App = () => {
return (
<Editor
tools={[
[Bold, Italic, Underline],
[Undo, Redo],
[Link, Unlink],
[AlignLeft, AlignCenter, AlignRight],
[OrderedList, UnorderedList, Indent, Outdent],
]}
contentStyle={{
height: 320,
}}
defaultContent={content}
/>
);
};
export default App;