Hallo
Ich habe tynymce in der Standart-Version installiert.
Dann habe ich mir über den Configurator folgende Config. zusammengestellt und eigene css-Klassen eingefügt.
Ins page-Ts habe ich folgende Defs. eingefügt:
RTE.default.init {
theme_advanced_buttons1=undo, redo, bold, italic, underline, sub, sup, bullist, numlist, outdent, indent, justifyleft, justifycenter, justifyright, justifyfull, pastetext, anchor, link, typo3link, unlink, nonbreaking, pagebreak, charmap, forecolor
theme_advanced_buttons2=table, row_props, cell_props, delete_col, delete_row, delete_table, col_after, col_before, row_after, row_before, split_cells, merge_cells, visualaid, styleselect, formatselect, fontsizeselect
theme_advanced_buttons3=
theme_advanced_buttons4=
plugins=paste, advlink, typo3filemanager, nonbreaking, pagebreak, table
theme_advanced_statusbar_location = bottom
width = 600
height = 550
fix_table_elements = true
# you could override the following option if you don't want to insert links.
file_browser_callback = typo3filemanager
# Additional config options for the "pastetext" button.
# If enabled double linefeeds are converted to paragraph elements when using the plain text dialog. This is enabled by default.
paste_create_paragraphs = true
# If enabled single linefeeds are converted to hard line break elements when using the plain text dialog. This is enabled by default.
paste_create_linebreaks = true
# Additional config options for the "link" button.
# This option should contain a semicolon separated list of class titles and class names separated by =. The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
advlink_styles =
# This option should contain a semicolon separated list of link target titles and target names separated by =. The titles are the ones that get presented to the user in the link target drop down list and and the target names is the target that gets inserted as a target attribute.
#theme_advanced_link_targets = Some frame=someframe;Some other frame=otherframe
# Additional config options for the "nonbreaking" button.
# This enables you to force TinyMCE to insert three entities when the user presses the tab key.
nonbreaking_force_tab = false
# Additional config options for the "pagebreak" button.
# Enables you to specify how the page break should be generated in the HTML source code.
pagebreak_separator = <!-- my page break -->
# Additional config options for the "forecolor" button.
# This option enables you to specify the default foreground color.
theme_advanced_default_foreground_color = #FF00FF
# This option controls the colors shown in the palette of colors displayed by the text color button. The default is a palette of 40 colors. It should contain a comma separated list of color values to be presented.
theme_advanced_text_colors = FF00FF, FFFF00, 000000
# This option enables you to disable the "more colors" link for the text and background color menus.
theme_advanced_more_colors = false
# Additional config options for the "table" button.
# This option should contain a semicolon separated list of class titles and class names separated by =
# The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
table_styles = Tabelle zentiert = tabelle_mittig;Tabelle linksausgerichtet = tabelle_links;
# This option should contain a semicolon separated list of class titles and class names separated by =
# The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
table_cell_styles =
# This option should contain a semicolon separated list of class titles and class names separated by =
# The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.
table_row_styles =
# Enables you to specify the max number of cells for a table.
table_cell_limit = 10000
# Enables you to specify the max number of rows for a table.
table_row_limit = 100
# Enables you to specify the max number of columns for a table.
table_col_limit = 50
# Enables you to specify the default border value.
table_default_border = 0
# Enables you to specify the default cellpadding value.
table_default_cellpadding = 0
# Enables you to specify the default cellspacing value.
table_default_cellspacing = 2
# Additional config options for the "formatselect" button.
# This option should contain a comma separated list of formats that will be available in the format drop down list.
theme_advanced_blockformats = p,h1,h2,h3,h4,h5,h6,blockquote
# Additional config options for the "fontsizeselect" button.
This option should contain a semicolon separated list of font sizes to include.
theme_advanced_font_sizes = Sehr grosser text=18px,Grosser Text=15px,normaler Text=12px,Kleiner Text=9px
# Additional config options for the "styleselect" button.
# This option should contain a semicolon separated list of class titles and class names separated by =. The titles will be presented to the user in the styles dropdown list and the class names will be inserted. If this option is not defined, TinyMCE imports the classes from the content_css.
theme_advanced_styles = Verweis schwarz-gruen=std_link;
}
Bin ich mit dem User-Account eingeloggt, unter dem ich auch die Konfiguration und Installation erstellt habe (Admin), ist alles so, wie ich möchte. Ich sehe die nur die ausgewählten Buttons des Editors und auch die definierten Klassen.
Wechsele ich nun den Benutzer, hat dieser alle Buttons des Editors und kann die von mir definierten CSS-Klassen nicht sehen.
Kopiere ich meinen Admin-Account, ist es genau so, wie bei den anderen Usern.
Kann mir jemand weiterhelfen? Wo ist die Schraube, damit die Definitionen auch für andere User gelten?
danke vielmals
Rolf