Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

setEditorBackgroundColor not working #134

Open
Mehul18292 opened this issue Aug 16, 2017 · 6 comments · May be fixed by #208
Open

setEditorBackgroundColor not working #134

Mehul18292 opened this issue Aug 16, 2017 · 6 comments · May be fixed by #208

Comments

@Mehul18292
Copy link

there is method with name "setEditorBackgroundColor" to change background color of editor. But when i call this method, it is not working as required.

@alexhuangVT
Copy link

same here

@steviemo
Copy link
Collaborator

Make sure you call it from the richEditorDidLoad RichEditorDelegate method

@Heckscheibe
Copy link

Heckscheibe commented Jan 15, 2019

@steviemo I tried this and it worked but you still have a white background whose colour you can't change when your view is higher than the innerLineHeight or the lineHeight attribute.

I thought that this was the background colour of the .webView but when I changed it, I got the same result.

I suppose that the white colour is the background if the rendered HTML...?

@EVanzhula
Copy link

@Heckscheibe In Debug View Hierarchy you can see that view with white background is some webview's subview called UIWebBrowserViewMinusAccessoryView. There is some hack code in CJWWebView+HackishAccessoryHiding.h/m, but looks like in doesn't work

@hansemannn hansemannn linked a pull request Aug 17, 2019 that will close this issue
@hansemannn
Copy link

Should be fixed with these changes: #208

@fukemy
Copy link

fukemy commented May 12, 2021

not working to me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants