MyBB Requests

Custom Text Editor Help

Submitted by DarSider, , Thread ID: 3980

Thread Closed
19-05-2015, 11:39 PM
#1
Hello all !
I want to add awesome font icons to editor (mybb 1.6), if someone can give me a solution :/
Thank you :D
- Web Developer & Designer

Website : https://developement.design/
Skype : ef.team
Email : [email protected]

RE: Custom Text Editor Help

#2
Open jscripts/editor.js

Search for this line and add a comma after it:

Code:
{type: 'button', name: 'color', insert: 'color', dropdown: true, color_select: true, image: 'color.gif', draw_option: this.drawColorOption, options: this.colors}

Make a new line and paste this:

Code:
{type: 'button', name: 'custom', insert: 'custom', image: 'custom.png', title: 'Custom'}

Explanation:
  • Name: Name of your button
  • Insert: MyCode
  • Image: The image which will be shown on your button
  • Title: Well, the title of your button

If you want to add an image to your button, go to jscripts/editor_themes/YOUREDITOR/images/ and upload an image which is called "custom.png". (Name it like you named it in the above line)

RE: Custom Text Editor Help

#3
I think he means font awesome

RE: Custom Text Editor Help

OP
#4
Nice Copy/Paste Aoki :3
I was talking about Awesome Font Icons
Thank you
- Web Developer & Designer

Website : https://developement.design/
Skype : ef.team
Email : [email protected]

RE: Custom Text Editor Help

#5
20-05-2015, 01:36 AM
DarSider Wrote:
Nice Copy/Paste Aoki :3
I was talking about Awesome Font Icons
Thank you

I didn't copy paste it.

I could install MyBB 1.6 and make an editor with fontawesome for it and release it later, if you want.

RE: Custom Text Editor Help

OP
#6
It will be great Tongue
Thanks
- Web Developer & Designer

Website : https://developement.design/
Skype : ef.team
Email : [email protected]

Users browsing this thread: 1 Guest(s)