cjwirth / RichEditorView

RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing.
BSD 3-Clause "New" or "Revised" License
1.89k stars 445 forks source link

Background Color #250

Open Panneerselvam-K opened 3 years ago

Panneerselvam-K commented 3 years ago

How to change the textview background color?

BlackGold-1989 commented 3 years ago

Hi. I have found a way how to change textview background color during integrating this pod for dark mode.. You can see richeditor.html file.. you can set css style here to change background color.. Happy coding..

amardeep-thakuria commented 2 years ago

In case someone is still looking for this, this is how I manage fill the background color

<div id="editor" contentEditable="true" placeholder="" class="placeholder" style="background-color:#FAF6F2;height:3000px"></div>