Adding a WYSIWYG to a DXP component

Hello Squiz community

Apologies if this question is simple question but (I’m trying to create my first DXP component) has anyone created a DXP component and added a minimal WYSIWYG to the manifest.json?

Is this correct?

      "summary": {
          "type": "wysiwyg",
          "label": "Summary",
          "toolbar": ["bold", "italic", "link", "unorderedList", "orderedList"],
          "required": false
        },

I believe you can’t test it locally?

Many thanks
N

Hi @NickyP !

Hope you’re doing well!

You’re actually looking for the FormattedText input field type

Here’s an example manifest:

Not sure about testing locally, see how you go with the above. You will probably want to look at making it inline editable in DXP Page Builder in Matrix.

Let me know how you go.
– iain

1 Like

Hey Iain
Thanks heaps! This is exactly what I was after :-1

Cheers
Nick

2 Likes

Nice one buddy - how you finding the experience of building components?

Hi Aleks,

How am I finding the component development workflow?
It has definitely been a steep learning curve, but I am enjoying the process.

The main gap I have noticed is the transition between the Academy’s “build your first component” training and actually developing a production-ready component for a real-world site. There is very little guidance or support for that middle layer - the practical application, best-practice patterns, and troubleshooting required to bridge the two.

This is an area where I believe Squiz could provide stronger support and clearer pathways.

BTW can anyone tell me if this the correct schema URL and NOT the localhost:3000
“$schema”: “http://squiz.cloud/components/schemas/v1.json#

Yeh it was the same for me. Looking at how others built components helped more than the academy training! [dxp-component-library] [squiz-dxp-component-system-squiz-qol-collab]