Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourYellow
title릴리즈 RELEASE 2.6.0 이상OR ABOVE

It adds an icon resource to be used in the editor.
If there is an icon with the same name, it is overwritten.

...

Code Block
languagejs
themeEmacs
var iconResources = {
	'image': '<img src="data:image/png;base64,iVBORw0KGgoAA.......BJRU5ErkJggg==">',
	'bold': '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 16"><rect y="6.062" width="16" height="4"/></svg>',
	......
};
 
SynapEditor.addIcons(iconResources);

...



Experiencing

Include Page
DEMO:커스텀 아이콘 설정하기DEMO:커스텀 아이콘 설정하기SEDEMO:Using Custom Icon
SEDEMO:Using Custom Icon