-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade version and replace images by unicode text #9
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for the contribution! Do you use this plugin for some public project/site? Do you want to share it?
src/plugin.js
Outdated
@@ -330,7 +330,7 @@ const plugin = (editor) => { | |||
editor.addButton('asciimath', { | |||
tooltip : 'Add New Math', | |||
cmd : 'mceAsciimath', | |||
image : url + '/img/ed_mathformula2.gif' | |||
text: '\u03A3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this icon was with + sign. My client that uses this plugin is really attached to it so I'd rather not change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, it's for an internal project.
src/plugin.js
Outdated
@@ -345,7 +345,7 @@ const plugin = (editor) => { | |||
editor.addButton('asciimathcharmap', { | |||
tooltip : 'Math Symbols', | |||
cmd : 'mceAsciimathDlg', | |||
image : url + '/img/ed_mathformula.gif' | |||
text: '\u03A3+' | |||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand, but this icon has + sign : "\u03A3+" = Σ+
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I mean is the order of those icons.
First one (named ed_mathformula2.gif) is with a + sign, so text: '\u03A3+'
should be above (line: 333), and here should be just text: '\u03A3'
without + sign
e88f72f
to
8aef3b3
Compare
@sebryu I rewrite the commit with good icons and add some fix. |
No description provided.