Skip to content

Commit 5fd60d0

Browse files
authored
Changing order of the rich text editor buttons + delete the image but… (#187)
## Description In rich text editor: - removing default image button (as we already have a custom one) - moving "embed" button as the first one ## Screenshot (optional) <img width="1903" height="906" alt="image" src="https://github.com/user-attachments/assets/28311b3b-25da-48e5-bbdd-95721301598f" /> <!-- Check out the relevant rules - https://www.ssw.com.au/rules/use-pull-request-templates-to-communicate-expectations/ - https://www.ssw.com.au/rules/rules-to-better-pull-requests - https://www.ssw.com.au/rules/write-a-good-pull-request - https://www.ssw.com.au/rules/over-the-shoulder-prs - https://www.ssw.com.au/rules/do-you-use-co-creation-patterns -->
1 parent 2025ed6 commit 5fd60d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tina/collection/rule.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const Rule: Collection = {
133133
label: "Body",
134134
isBody: true,
135135
templates: embedTemplates,
136+
toolbarOverride: ['embed', 'heading', 'link', 'quote', 'ul', 'ol', 'bold', 'italic', 'code', 'codeBlock', 'mermaid', 'table', 'raw']
136137
},
137138
...historyFields
138139
],

0 commit comments

Comments
 (0)