update mocks
This commit is contained in:
@@ -483,6 +483,7 @@ export const data: Array<DataTypeModel & { type: 'data-type' }> = [
|
||||
{ alias: 'dimensions', value: { width: 800, height: 500 } },
|
||||
{ alias: 'maxImageSize', value: 500 },
|
||||
{ alias: 'mode', value: 'classic' },
|
||||
{ alias: 'ignoreUserStartNodes', value: false },
|
||||
{ alias: 'stylesheets', value: ['/css/dropdownStyles.css'] },
|
||||
{
|
||||
alias: 'toolbar',
|
||||
@@ -501,6 +502,8 @@ export const data: Array<DataTypeModel & { type: 'data-type' }> = [
|
||||
'outdent',
|
||||
'indent',
|
||||
'link',
|
||||
'unlink',
|
||||
'anchor',
|
||||
'table',
|
||||
'umbmediapicker',
|
||||
'umbmacro',
|
||||
|
||||
@@ -23,7 +23,7 @@ export const data: Array<DocumentModel> = [
|
||||
alias: 'richTextEditor',
|
||||
culture: null,
|
||||
segment: null,
|
||||
value: null,
|
||||
value: 'Some value for the RTE with an <a href="http://foo.com">external link</a> and an <a href="/{localLink:umb://document/c05da24d7740447b9cdcbd8ce2172e38}">internal link</a>',
|
||||
},
|
||||
{
|
||||
alias: 'email',
|
||||
|
||||
@@ -24,7 +24,7 @@ export class UmbModalLayoutCodeEditorElement extends UmbModalLayoutElement<UmbMo
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<umb-workspace-layout .headline=${this.data?.headline ?? "Edit Source Code"}>
|
||||
<umb-workspace-layout .headline=${this.data?.headline ?? "Edit source code"}>
|
||||
<uui-code-block>${this.data?.content}</uui-code-block>
|
||||
<div slot="actions">
|
||||
<uui-button slot="actions" id="cancel" label="Cancel" @click="${this._handleCancel}">Cancel</uui-button>
|
||||
|
||||
Reference in New Issue
Block a user