Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thank you, sir,how do the inserted pictures fit the device screen? #117

Open
fgq233 opened this issue Jul 11, 2017 · 3 comments
Open

Thank you, sir,how do the inserted pictures fit the device screen? #117

fgq233 opened this issue Jul 11, 2017 · 3 comments

Comments

@fgq233
Copy link

fgq233 commented Jul 11, 2017

No description provided.

@fgq233
Copy link
Author

fgq233 commented Jul 11, 2017

I solved it #47

@MakamuEvans
Copy link

How did you solve it?

@o-Adrian-o
Copy link

You can add a css file in your assets and make the images fit size of the webview (and the device screen if the richEditor uses match parent).

richEditor.loadCSS("style.css");

style.css :

img {
    max-width: 100%;
    height: auto;
}

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

No branches or pull requests

3 participants