Skip to content

Commit c508be4

Browse files
authored
Fix an issue in some browsers with the Markdown widget (#36)
1 parent 8b09f55 commit c508be4

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Diff for: .changeset/swift-feet-play.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"astro-netlify-cms": patch
3+
---
4+
5+
Fix an issue in some browsers with the rich text editor.
6+
7+
Adds the workaround documented in [netlify/netlify-cms#5092](https://github.com/netlify/netlify-cms/issues/5092) to the admin dashboard.

Diff for: admin-dashboard.astro

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
import initCMS from './dist/cms';
1212
initCMS(options);
1313
</script>
14+
<style is:global>
15+
/* Workaround for https://github.com/netlify/netlify-cms/issues/5092 */
16+
[data-slate-editor] {
17+
-webkit-user-modify: read-write !important;
18+
}
19+
</style>
1420
</head>
1521
<body></body>
1622
</html>

0 commit comments

Comments
 (0)