RichEditorView
RichEditorView copied to clipboard
Focus is only working on placeholder area, NOT on complete view
The view only becomes active when tapped on the placeholder area or where the text is written. If the user taps anywhere else, field does not become first responder
I faced this issue , solve it by some changes in (style.css) file
#editor {
min-height: 200px;
height: auto;
font-size: 14pt;
padding:10px
direction:rtl !important;
}
attention! , change direction to rtf , add padding, that serve my requirements
if not work with you tell me , I made other changes for other requirements may help for this issue
#editor { min-height: 200px; height: auto; font-size: 14pt; padding:10px direction:rtl !important; }
Thanks a lot @hassanmohsen Spent hours changing the focus point, but got no result. This worked like a charm.. !!!!!!!
Nice @hassanmohsen , I'll add it in unless you'd like to make a PR.
@YoomamaFTW sorry for lating, you can add it , no problem
I got @hassanmohsen 's solution to work for a fixed minimum height, but in my case I wanted the editor to cover the entire area.
I was able to solve this problem by removing the div with id="container"
and setting height: 100%
in body (I didn't have to make any changes to the editor div). This makes the editor div fill up the body and the body fills up the entire view area.
I'm not having this issue. Though, an issue that I've been having for a long time is that the cursor, if you click on an area below all your text, goes to the very top. Will report back with that fix. Otherwise, please let me know if this issue is still persisting, and if so, add debugging info like iOS version, reproducing steps, etc.