enzostvs HF Staff commited on
Commit
e0eec0d
·
1 Parent(s): dfcc023

read only message

Browse files
Files changed (1) hide show
  1. components/editor/index.tsx +5 -0
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) => {