Hello,
I tried to integrate the inline editor with headlines. Specifically I want the user being able to change the content between <h1></h1> tags.
1.) I added contentEditable directly to the H1 and H2 tags but it didn't work.
2.) I added contentEditable to a Div Wrapper around the H1 or H2 tag. I allow the user only to change bold/italic/underline style. When the user selects everything and deletes, also the H1 tag within the div wrapper is deleted. So the question is how I need to integrate the inline editor to allow the user to edit the content within the H1 tag without deleting it?
Thanks,
Philip
I tried to integrate the inline editor with headlines. Specifically I want the user being able to change the content between <h1></h1> tags.
1.) I added contentEditable directly to the H1 and H2 tags but it didn't work.
2.) I added contentEditable to a Div Wrapper around the H1 or H2 tag. I allow the user only to change bold/italic/underline style. When the user selects everything and deletes, also the H1 tag within the div wrapper is deleted. So the question is how I need to integrate the inline editor to allow the user to edit the content within the H1 tag without deleting it?
Thanks,
Philip