Spaces:
Running
Running
read only message
Browse files
components/editor/index.tsx
CHANGED
|
@@ -72,6 +72,11 @@ export const AppEditor = ({
|
|
| 72 |
},
|
| 73 |
wordWrap: "on",
|
| 74 |
readOnly: true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}}
|
| 76 |
value={currentPageData.html}
|
| 77 |
onChange={(value) => {
|
|
|
|
| 72 |
},
|
| 73 |
wordWrap: "on",
|
| 74 |
readOnly: true,
|
| 75 |
+
readOnlyMessage: {
|
| 76 |
+
value:
|
| 77 |
+
"You can't edit the code, ask DeepSite to do it for you!",
|
| 78 |
+
isTrusted: true,
|
| 79 |
+
},
|
| 80 |
}}
|
| 81 |
value={currentPageData.html}
|
| 82 |
onChange={(value) => {
|