I am creating a blog-app project in Angular 7. Using firebase cloud functions as a backend and doing CRUD operations by saving html content to firebase using Angular - CKEditor component.
It looks like this in firebase
content: "<p>Sample Blog Post</p><img src="someLink">"
and then I render that string in the page
<div [innerHTML]="content"></div>
I think this approach called WYSIWYG(What You See Is What You Get) and works perfectly fine but I feel like this is not the efficient way.
I wanna have a blog website with just blog posts no other features. Is there any problem with that approach for my case ? Can you recommend any other solution if there is a problem ?
Thank you.