We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a8371 commit 0c948b3Copy full SHA for 0c948b3
web/src/polaris/configuration/fileGroup/detail/file/PageDuck.tsx
@@ -305,7 +305,7 @@ export default class PageDuck extends Base {
305
const currentNode = selectors.currentNode(yield select())
306
const { editContent: content } = selector(yield select())
307
const { format } = currentNode
308
- if (format === FileFormat.YAML) {
+ if (format === FileFormat.YAML || format === 'yaml') {
309
try {
310
jsYaml.load(content)
311
} catch (e) {
0 commit comments