|
Verfasst am: 10. 03. 2010 [11:34]
|
|
vinter
Themenersteller
Dabei seit: 11.07.2008
Beiträge: 52
|
Hallo
ich habe tinyme 0.5.1 von der repository geladen und installiert,mit dem Button-Configurator konfiguriert und ins Page TS eingefügt. Tinymce läuft soweit auch gut, lediglich selbst definierte Styles kann ich nirgends aufrufen.
ins PageTs habe ich folgendes eingefügt:
RTE.default.init {
theme_advanced_buttons1=bold, italic, underline, sub, sup, undo, redo, justifyleft, justifycenter, justifyright, justifyfull, pastetext, pasteword, 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, bullist, numlist, indent, outdent, formatselect, fontsizeselect
theme_advanced_buttons3=
theme_advanced_buttons4=
content_css = fileadmin/vorlagen/editor.css
theme_advanced_styles = Zentrierte Tabelle=table1;
In der Auswahlbox "Styles" wird der neue Style dann aber nicht zur Auswahl angeboten.
Was habe ich falsch gemacht?
Danke für Eure Hilfe
Rolf
|
|
Verfasst am: 10. 03. 2010 [13:16]
|
|
daKmoR
Dabei seit: 05.03.2007
Beiträge: 94
|
RTE.default.init {
theme_advanced_styles = Zentrierte Tabelle=table1;
}
funktioniert bei mir ohne Probleme, da muss es irgendwo anders etwas haben...
probier mal nur den block allein?
webteam.at
|
|
Verfasst am: 10. 03. 2010 [14:33]
|
|
vinter
Themenersteller
Dabei seit: 11.07.2008
Beiträge: 52
|
Du hast Recht, so funktioniert es bei mir dann auch.
Ich bin leider nicht so fit, kannst du (oder auch gerne jemand anders) einen Blick auf mein TS werfen ??
Ich sehe da den Fehler nicht.
RTE.default.init {
theme_advanced_buttons1=bold, italic, underline, sub, sup, undo, redo, justifyleft, justifycenter, justifyright, justifyfull, pastetext, pasteword, 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, bullist, numlist, indent, outdent, formatselect, fontsizeselect
theme_advanced_buttons3=
theme_advanced_buttons4=
content_css = fileadmin/vorlagen/editor.css
theme_advanced_styles = Zentrierte Tabelle=table1;
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 "pasteword" button.
# If disabled then normal cleanup will not be performed after wordpaste. This option is enabled by default.
paste_force_cleanup_wordpaste = true
# MSIE specific option, if you set this to true both Mozilla and MSIE will present a paste dialog. If you set it to false pasting in MSIE will be done directly. This option is set to true by default.
paste_use_dialog = true
# MSIE specific option. If you enable this feature, a word paste will be executed when the user copy/paste content to the editor. This feature is disabled by default.
paste_auto_cleanup_on_paste = true
# If this feature is enabled middot lists are converted into UL lists, these will be assigned a special class.
paste_convert_middot_lists = true
# This option enables you to specify what class to assign to the UL list of middot converted lists. Middot lists are unindented in MS Office. This option defaults to "unIndentedList".
paste_unindented_list_class = unIndentedList
# This feature converts H1-6 elements to strong elements on paste, this is feature is disabled by default.
paste_convert_headers_to_strong = true
# This enables you to control if the word parse operation should remove or keep span elements, they will be removed by default.
paste_remove_spans = true
# This enables you to control if the word parse operation should remove or keep style attributes, they will be removed by default.
paste_remove_styles = true
# Comma separated list of search/replace chunks. Where even items is the regexp that is to be used for the search and odd values are the contents that are to be replaced.
paste_replace_list = \u2122, <sup>TM</sup>, \u2026, ..., \u201c|\u201d, ", \u2019, \', \u2013, –, \u2014, —, \u2015|\u2212, -
# This feature allows you to control whether or not class attributes are stripped when using pasteword. Valid values are:
# all - will strip all class attributes from the pasted content. This is the default value.
# none - will not strip any class attributes from the pasted content.
# mso - will strip out all of the class attribute values that start with "Mso", but retain all others.
paste_strip_class_attributes = all
# This option enables you to specify a callback function. This callback is executed when the user pastes word content, the return value of this function will be the new content string.
#paste_insert_word_content_callback =
# 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 &nbsp; 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 = Header 1=header1;Header 2=header2;Header 3=header3
# 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 = Header 1=header1;Header 2=header2;Header 3=header3;Table Cell=tableCel1
# 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 = Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1
# 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 = 30
# Enables you to specify the default border value.
table_default_border =
# Enables you to specify the default cellpadding value.
table_default_cellpadding = 2
# Enables you to specify the default cellspacing value.
table_default_cellspacing = 0
# 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, div, h1, h2, h3, h4, h5, h6, blockquote, dt, dd, code, samp
# Additional config options for the "fontsizeselect" button.
This option should contain a semicolon separated list of font sizes to include.
theme_advanced_font_sizes = Big text=30px, Small text=small, My Text Size=.mytextsize
}
# Nichtbenötigte Spalten ausblenden
mod.SHARED.colPos_list = 0
Vielen Dank.
|
|
Verfasst am: 10. 03. 2010 [16:36]
|
|
daKmoR
Dabei seit: 05.03.2007
Beiträge: 94
|
Ich würde mal damit anfangen nicht alles zu definieren... so wie es ausschaut überschreibst du hier alle werte... ich ich würde nur die angeben die sich auch wirklich ändern.
Die Standardconfiguration ist wirklich gut. So Wie ich das sehen müssten folgendes ausreichen:
RTE.default.init {
theme_advanced_buttons1=bold, italic, underline, sub, sup, undo, redo, justifyleft, justifycenter, justifyright, justifyfull, pastetext, pasteword, 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, bullist, numlist, indent, outdent, formatselect, fontsizeselect
theme_advanced_buttons3=
theme_advanced_buttons4=
content_css = fileadmin/vorlagen/editor.css
theme_advanced_styles = Zentrierte Tabelle=table1;
plugins=paste, advlink, typo3filemanager, nonbreaking, pagebreak, table
paste_convert_headers_to_strong = true
theme_advanced_default_foreground_color = #FF00FF
theme_advanced_text_colors = FF00FF, FFFF00, 000000
theme_advanced_font_sizes = Big text=30px, Small text=small, My Text Size=.mytextsize
}
webteam.at
|