init
This commit is contained in:
11
pages/edit.tsx
Normal file
11
pages/edit.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from "react";
|
||||
|
||||
const EditPage = () => {
|
||||
return <div
|
||||
onInput={(event) => {
|
||||
console.log(event.currentTarget.innerHTML);
|
||||
}}
|
||||
contentEditable="true"></div>;
|
||||
};
|
||||
|
||||
export default EditPage;
|
||||
Reference in New Issue
Block a user