Skip to content

Commit 4ace4e5

Browse files
committed
add cors and help text
1 parent 6eea7cd commit 4ace4e5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
### Fixed
1616
- Fixed block editor button 'saved' instead of 'save' (MAD-1475)
1717
- Fixed marking canvas as incomplete not marking manifest as incomplete (MAD-1516)
18+
- Fixed CORS errors in embed item block
1819

1920
## [v2.2.7](https://github.com/digirati-co-uk/madoc-platform/compare/v2.2.6...v2.2.7)
2021

services/madoc-ts/src/frontend/site/blocks/EmbedItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ blockEditorFor(EmbedItem, {
3737
width: '400',
3838
},
3939
editor: {
40-
link: { type: 'text-field', label: 'src or link' },
40+
link: { type: 'text-field', label: 'src or link', description: 'paste an embed src/link without quotes' },
4141
height: { type: 'text-field', label: 'height (px)' },
4242
width: { type: 'text-field', label: 'width (px)' },
4343
},

services/madoc-ts/translations/en/madoc.json

+1
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,7 @@
11901190
"secondButton": "secondButton",
11911191
"secondButtonLink": "secondButtonLink",
11921192
"size": "size",
1193+
"some help text": "some help text",
11931194
"src or link": "src or link",
11941195
"summary": "summary",
11951196
"switch to the main revision": "switch to the main revision",

0 commit comments

Comments
 (0)