Renders the background color property
This commit is contained in:
parent
3dbbd37569
commit
1cf336bf56
1 changed files with 5 additions and 1 deletions
|
|
@ -55,10 +55,14 @@ namespace BookAStar.Droid
|
|||
{
|
||||
// Subscribe
|
||||
editorTemplate.Model = new Markdown.MarkdownViewModel
|
||||
{ Content = e.NewElement.Markdown, Editable = e.NewElement.Editable };
|
||||
{
|
||||
Content = e.NewElement.Markdown, Editable = e.NewElement.Editable
|
||||
};
|
||||
var html = editorTemplate.GenerateString();
|
||||
EditorView.LoadDataWithBaseURL("file:///android_asset/",
|
||||
html, "text/html", "utf-8", null);
|
||||
EditorView.SetBackgroundColor(e.NewElement.BackgroundColor.ToAndroid());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue