El Jovial
El Jovial
NNuxt
Created by El Jovial on 7/21/2024 in #❓・help
WYSIWYG or Editor.js/Tiptap renderer
Indeed setting up tiptap editor works like a charm! Only caveat I'm still facing is how to remove some fields of StaterKit (like removing some headings options or list for example) :!
9 replies
NNuxt
Created by El Jovial on 7/21/2024 in #❓・help
WYSIWYG or Editor.js/Tiptap renderer
Thank you very much @vogtm , this is definitly pointing into the right direction for the Block editor field. But the return data isn't match tiptap one. I'm gonna implement tiptap in directus instead and it should do the work then but I'm so surprised that the regular Block editor of Directus is absolutly useless and that I cannot find any documentation about it...
9 replies
NNuxt
Created by El Jovial on 7/21/2024 in #❓・help
WYSIWYG or Editor.js/Tiptap renderer
For richtext yes but block editor is returning an object like
{
"id": 1,
"block_editor": {
"time": 1721625817844,
"blocks": [
{
"id": "u4SwkGQtJ4",
"type": "paragraph",
"data": {
"text": "Lorem"
}
},
{
"id": "pA4Xv6PvY8",
"type": "header",
"data": {
"text": "h1",
"level": 2
}
}
],
"version": "2.29.1"
},
{
"id": 1,
"block_editor": {
"time": 1721625817844,
"blocks": [
{
"id": "u4SwkGQtJ4",
"type": "paragraph",
"data": {
"text": "Lorem"
}
},
{
"id": "pA4Xv6PvY8",
"type": "header",
"data": {
"text": "h1",
"level": 2
}
}
],
"version": "2.29.1"
},
9 replies
NNuxt
Created by El Jovial on 7/15/2024 in #❓・help
tsconfig.json Error
if anyone in the situation, fixed it by adding in nuxt config file :
typescript: {
strict: true,
tsConfig: {
compilerOptions: {
module: "ESNext",
},
},
},
typescript: {
strict: true,
tsConfig: {
compilerOptions: {
module: "ESNext",
},
},
},
3 replies
NNuxt
Created by El Jovial on 7/15/2024 in #❓・help
tsconfig.json Error
The error seems to be coming from nuxi generated tsconfig that includes : "module": "preserve" Anyone knows where to start to debug that and overwrite nuxi generate tsconfig ?
3 replies
NNuxt
Created by El Jovial on 5/30/2024 in #❓・help
Transition layout creates white background flash
Thank you Anjjar, unfortunatly this does make the white background less visible but it's still there, the opacity fading reveals a white background instead of revealing next page
3 replies