File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
eui-markdown-editor-toolbar Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 22
33### Master
44
5+ ### 1.3.5
6+ 🐛 Bug / Fixes
7+ - Urls for markdown editor icons
8+
59### 1.3.4
610🐛 Bug / Fixes
711- Fix docs related to ember-svg-jar and netlify demo
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ type IconColor = string | NamedColor;
2929
3030export type IconSize = keyof typeof sizeToClassNameMap ;
3131
32- // const SVG_PREI : string | undefined = config['ember-eui'].svgPrefixPath || 'svg/assets';
32+ // const SVG_PREI : string | undefined = config['ember-eui'].svgPath || 'svg/assets';
3333
3434export type EuiIconArgs = CommonArgs & {
3535 /**
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ export default class EuiMarkdownEditorFooterComponent extends Component<EuiMarkd
1010
1111 get svgPath ( ) {
1212 const config = getOwner ( this ) . resolveRegistration ( 'config:environment' ) ;
13- const svgPath = config ?. [ '@ember-eui/core' ] ?. svgPath || 'svg' ;
13+ const svgPath = config ?. [ '@ember-eui/core' ] ?. svgPath || 'svg/ ' ;
1414 return svgPath ;
1515 }
1616
1717 get markdownLogo ( ) {
18- return `${ this . svgPath } / markdown-logo` ;
18+ return `${ this . svgPath } markdown-logo` ;
1919 }
2020}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMark
3131
3232 get svgPath ( ) {
3333 const config = getOwner ( this ) . resolveRegistration ( 'config:environment' ) ;
34- const svgPath = config ?. [ '@ember-eui/core' ] ?. svgPath || 'svg' ;
34+ const svgPath = config ?. [ '@ember-eui/core' ] ?. svgPath || 'svg/ ' ;
3535 return svgPath ;
3636 }
3737
@@ -55,7 +55,7 @@ export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMark
5555 label : 'Task list' ,
5656 name : 'tl' ,
5757 useSvg : true ,
58- iconType : `${ this . svgPath } / markdown-checkmark`
58+ iconType : `${ this . svgPath } markdown-checkmark`
5959 }
6060 ] ;
6161 }
You can’t perform that action at this time.
0 commit comments