Pages: [1] |
|
|
Author |
Topic: Disable parts of the TinyMce editor (Read 1503 times) |
patdpoo
Posts: 28

|
Hi, I want to remove the following from the TM editor:
Fonty Family, Font Size, Text Color and Background color. I want my client to choose my fonts set up on my style sheet. I see that it has a nice drop down for choose what I've set up.
Thanks! Pat 
|
|
|
|
admin
Forum Administrator

Posts: 2686
SnippetMaster Author
|
Yes, you can use the "editor group" tab in the admin area to specify the desired options for the toolbar. You can specify exactly what icons you want to be available and then assign the desired "editor group" to your user.
1) Go to admin area.
2) Create or edit the desired editor group, and specify the options you want (ie: the toolbar icons)
3) Go to the user, and assign the editor group to that user.
Let me know if you get stuck with anything. There is an example two toolbars already created.. one for regular users, with all the toolbar options, and another that only contains basic edit icons like bold/italics/underline... you can use those as a starting point. 
|
|
|
|
patdpoo
Posts: 28

|
Oh that is nice! I like the basic editor for the client or it can look messy
Another question. I have a another page that my client needs to edit and that page has a table for tabular data. I tried adding "table" to the basic editor priviledges but it brings back all the formatting options on the editor. I would be nice if the table cells would show up for easier editing by the client.
The site though is tableless except for the one table on a single page.
Thanks, Pat
|
|
|
|
admin
Forum Administrator

Posts: 2686
SnippetMaster Author
|
Hmm.. if you add the "table" toolbar icon, then only the table editing options should be available.. (nothing else).
If it still isn't working for you, send me:
1) A link to this thread (so I know what is the issue)
2) A snippetmaster URL and admin un/pw
I'll login and try to create the toolbar for you...
henri @ www.snippetmaster.com
|
|
|
|
patdpoo
Posts: 28

|
thanks Henri! Everything fine now 
|
|
|
|
PARoss
Beta Tester
Posts: 7

|
It is not obvious how to populate the style dropdown list. Can you be more specific?
Phil
|
|
|
|
patdpoo
Posts: 28

|
Maybe Henri has a better answer, but when I installed SnippetMaster, the style drop down for the style selector automatically had my CSS style elements in it. Must be something that detects a site style sheet and will pick it up? Don't know. All I know is that I didn't have to add them to the editor.
Pat
|
|
|
|
PARoss
Beta Tester
Posts: 7

|
Pat,
These particular files have the styles in the header <style type="text/css">...</style>. It's not a separate file, maybe that's it -- but it shouldn't be.
Phil
|
|
|
|
admin
Forum Administrator

Posts: 2686
SnippetMaster Author
|
The styles dropdown is automatically populated with any valid styles that are located inside the file being edited, or in any linked style sheets.
As long as you're using valid HTML to call the stylesheet file, SnippetMaster will find the linked file... The most common problem for missing styles is invalid HTML.
If your linked styles aren't being found.. can you post the <HEAD> section of your html where your linked css file is being called? I'll confirm it is ok, and if it is... then I'll try to find out why it's not working.

|
|
|
|
|
Pages: [1]
|
|
|
|