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 33194cf commit 3ebd665Copy full SHA for 3ebd665
pages/@[team]/[project]/content.vue
@@ -42,6 +42,7 @@ const client = useStrapiClient()
42
const branch: Ref<Branch> = ref(null)
43
const file: Ref<File> = ref(null)
44
const content: Ref<string> = ref('')
45
+const updatedContent: Ref<string> = ref('')
46
const parsedContent: Ref<string> = ref('')
47
const parsedMatter: Ref<string> = ref('')
48
@@ -119,8 +120,7 @@ function stringifyFrontMatter (content, data = {}) {
119
120
}
121
122
function saveContent (content) {
- const updatedContent = stringifyFrontMatter(content, parsedMatter.value)
123
- // TODO
+ updatedContent.value = stringifyFrontMatter(content, parsedMatter.value)
124
125
126
function findFileFromPath (path, files) {
0 commit comments