[SOLVED]Help with CKEditor

Answered
0
0

Hi,

please I need help with CKEditor configuration.

-I’m trying to add extra plugin for lineheight but I don’t understand

-I’m trying to hide some button from tool bar but don’t know how to do

can I have a little sample?

best

Cristian Zerbinati

  • You must to post comments
Best Answer
0
0

Hi Cristian,

Our CKEditor extension is open source, you can find it here: https://github.com/iceteagroup/wisej-extensions

I’m attaching a small sample showing how to get the line height toolbar, you just have to add an option in ExternalPlugins referencing the plugin and set the option in code:

this.ckEditor1.Options.extraPlugins = "lineheight";

You can change the visible toolbar options by settings the “toolbar” option in ckEditor1.Options, see the attached sample.

Let me know if you have any other questions!

Best regards,

Levie

Attachment
  • You must to post comments
0
0

Hi Levie,

thank you for sample! There is only a problem, the lineheight button it is not visibile on toolbar

best

Cristian

  • Levie (ITG)
    You need to comment out the part where I did ckEditor1.Options.toolbar = …. or add the line height option in that toolbar assignment. That’s what you’re talking about, right? Levie
  • Cristian Zerbinati
    Perfect!
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.