Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to set fixed width and height for the ckeditor in SPFX react webpart

$
0
0

I implemented the ckeditor control in my SPFX react webpart but i want to set fixed height and width for control how to set it? 

<CKEditorid="ckeditMoreInfo"
editor={ClassicEditor}
data={item.APMEMoreInfo}
onInit={editor=> {
// You can store the "editor" and use when it is needed.
console.log('Editor is ready to use!',editor);
self.setState({
APMEMoreInfoData: item.APMEMoreInfo
});
}}
config={editorConfiguration }
onChange={(event,editor) => {
self.setState({
APMEMoreInfoData: editor.getData()
});
}}
/>


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>