Jump to content
  • 0

Customize Rich Text Edit menu on Text 64000 fields


DesiLogi
 Share

Question

Hi, 

Does anyone know how to remove/edit specific buttons from the edit menu on Rich Text fields? The 'Simple' doesn't have enough of the functions I need, only the 'Advanced' option does but it has a lot of extraneous edit options I don't need and that confuse the user. I need to be able to clean up the edit menu (see screenshot). Any help would be great-- 

 

Screen Shot 2022-04-11 at 2.57.38 PM.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @DesiLogi,

 

You can hide them using CSS.

 

Edit your DataPage, go to the Configure Fields screen, add a Header and Footer. Select the Header, disable the HTML editor on the Advanced tab, and paste the following:

 

<style>


#cke_11, #cke_12, #cke_46, #cke_50, #cke_55, #cke_39, #cke_40, #cke_41, #cke_42, #cke_28, #cke_33, #cke_34{
display:none;
}

</style>

 

 

Link to comment
Share on other sites

  • 0
Posted (edited)

Hi Futurist,

Thanks for the tip--I tried that but there was no change in the edit buttons. Is there something else to add? Perhaps I'm missing something-- 

EDIT:

I fiddled with the id numbers and got it to remove most of the buttons I wanted to, except I couldn't figure out how to keep the font name and size while removing the rest of the 4th line.  This is what worked: 

#cke_15,#cke_30,#cke_33,#cke_34,#cke_40,#cke_45,#cke_46,#cke_51,#cke_52,#cke_53,#cke_54,#cke_59,#cke_60,#cke_61,#cke_62,#cke_67,#cke_70,#cke_71,#cke_73{
display:none;
}

That said, the text64000 fields below (after) this field still have all of their rich text edit menu buttons so I imagine each iteration of the rich text edit menus have their own id numbers for the buttons, so you'd have to make a new css line for the second rich text edit menu with its own set up id numbers. 

The only thing left that would be great is being able to combine lines of edit buttons, after removing many of them. You'll still have 4 lines of buttons, just shorter, if you remove some of them but not all (in the code above I removed the entire 3rd and 4th line). It would be great to be able to  make a concise, neat custom menu for this field and be able to select it instead of Simple, Standard,Advanced. 

This really does help, though, in terms of cleaning up a mess of an edit menu. Thanks very much Futurist, for posting this solution. 

Edited by DesiLogi
found solution
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...