181210 chi NR구매등록시 이미지 표시 및 추가 기능
NR구매목록에서 권한 없는 사람이 더블클릭으로 편집할 수 있는 버그 수정
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
using System.Linq;
|
||||
|
||||
namespace YARTE.UI.Buttons
|
||||
{
|
||||
public static class PredefinedButtonSets
|
||||
{
|
||||
private static readonly string[] _webSafeFonts = new [] { "Courier New", "Times New Roman", "Georgia", "Arial", "Verdana"};
|
||||
|
||||
public static void SetupDefaultButtons(HtmlEditor editor)
|
||||
{
|
||||
editor.AddToolbarItem(new BoldButton());
|
||||
editor.AddToolbarItem(new ItalicButton());
|
||||
editor.AddFontSelector(_webSafeFonts);
|
||||
editor.AddFontSizeSelector(Enumerable.Range(1,7));
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new LinkButton());
|
||||
editor.AddToolbarItem(new UnlinkButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new InsertLinkedImageButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new OrderedListButton());
|
||||
editor.AddToolbarItem(new UnorderedListButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new ForecolorButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new JustifyLeftButton());
|
||||
editor.AddToolbarItem(new JustifyCenterButton());
|
||||
editor.AddToolbarItem(new JustifyRightButton());
|
||||
}
|
||||
}
|
||||
using System.Linq;
|
||||
|
||||
namespace YARTE.UI.Buttons
|
||||
{
|
||||
public static class PredefinedButtonSets
|
||||
{
|
||||
private static readonly string[] _webSafeFonts = new [] { "Courier New", "Times New Roman", "Georgia", "Arial", "Verdana"};
|
||||
|
||||
public static void SetupDefaultButtons(HtmlEditor editor)
|
||||
{
|
||||
editor.AddToolbarItem(new BoldButton());
|
||||
editor.AddToolbarItem(new ItalicButton());
|
||||
editor.AddFontSelector(_webSafeFonts);
|
||||
editor.AddFontSizeSelector(Enumerable.Range(1,7));
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new LinkButton());
|
||||
editor.AddToolbarItem(new UnlinkButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new InsertLinkedImageButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new OrderedListButton());
|
||||
editor.AddToolbarItem(new UnorderedListButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new ForecolorButton());
|
||||
editor.AddToolbarDivider();
|
||||
editor.AddToolbarItem(new JustifyLeftButton());
|
||||
editor.AddToolbarItem(new JustifyCenterButton());
|
||||
editor.AddToolbarItem(new JustifyRightButton());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user