|  | @@ -14,7 +14,8 @@ export default class RichTextEditor extends Component {
 | 
	
		
			
			| 14 | 14 |    static propTypes = {
 | 
	
		
			
			| 15 | 15 |      initialTitleHTML: PropTypes.string,
 | 
	
		
			
			| 16 | 16 |      initialContentHTML: PropTypes.string,
 | 
	
		
			
			| 17 |  | -    editorInitializedCallback: PropTypes.func
 | 
	
		
			
			|  | 17 | +    editorInitializedCallback: PropTypes.func,
 | 
	
		
			
			|  | 18 | +    customCSS: PropTypes.string
 | 
	
		
			
			| 18 | 19 |    };
 | 
	
		
			
			| 19 | 20 |  
 | 
	
		
			
			| 20 | 21 |    constructor(props) {
 | 
	
	
		
			
			|  | @@ -58,9 +59,13 @@ export default class RichTextEditor extends Component {
 | 
	
		
			
			| 58 | 59 |            }
 | 
	
		
			
			| 59 | 60 |            break;
 | 
	
		
			
			| 60 | 61 |          case messages.ZSS_INITIALIZED:
 | 
	
		
			
			|  | 62 | +          if (this.props.customCSS) {
 | 
	
		
			
			|  | 63 | +            this.setCustomCSS(this.props.customCSS);
 | 
	
		
			
			|  | 64 | +          }
 | 
	
		
			
			| 61 | 65 |            this.setTitleHTML(this.props.initialTitleHTML);
 | 
	
		
			
			| 62 | 66 |            this.setContentHTML(this.props.initialContentHTML);
 | 
	
		
			
			| 63 | 67 |            this.props.editorInitializedCallback && this.props.editorInitializedCallback();
 | 
	
		
			
			|  | 68 | +
 | 
	
		
			
			| 64 | 69 |            break;
 | 
	
		
			
			| 65 | 70 |          case messages.LOG:
 | 
	
		
			
			| 66 | 71 |            console.log('FROM ZSS', message.data);
 | 
	
	
		
			
			|  | @@ -339,6 +344,10 @@ export default class RichTextEditor extends Component {
 | 
	
		
			
			| 339 | 344 |      this._sendAction(actions.setContentPlaceholder);
 | 
	
		
			
			| 340 | 345 |    }
 | 
	
		
			
			| 341 | 346 |  
 | 
	
		
			
			|  | 347 | +  setCustomCSS(css) {
 | 
	
		
			
			|  | 348 | +    this._sendAction(actions.setCustomCSS, css);
 | 
	
		
			
			|  | 349 | +  }
 | 
	
		
			
			|  | 350 | +
 | 
	
		
			
			| 342 | 351 |    prepareInsert() {
 | 
	
		
			
			| 343 | 352 |      this._sendAction(actions.prepareInsert);
 | 
	
		
			
			| 344 | 353 |    }
 |