Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gcusnieux
Copy link

No description provided.

Copy link
Member

@sebryu sebryu left a 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'
Copy link
Member

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.

Copy link
Author

@gcusnieux gcusnieux left a 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+'
});
Copy link
Author

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+" = Σ+

Copy link
Member

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

@gcusnieux
Copy link
Author

@sebryu I rewrite the commit with good icons and add some fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants