12 lines
207 B
TypeScript
12 lines
207 B
TypeScript
import React from "react";
|
|
|
|
const EditPage = () => {
|
|
return <div
|
|
onInput={(event) => {
|
|
console.log(event.currentTarget.innerHTML);
|
|
}}
|
|
contentEditable="true"></div>;
|
|
};
|
|
|
|
export default EditPage;
|