Re: Fa_XH
Posted: Fri Apr 14, 2017 8:20 pm
From a short view it's because you need an extra tinymce plugin. Did you ever try this config option. This might work for both tinymce variants.
Ah, thanks! Indeed, that works with both variants, if an absolute URL is specified in the init. I think that this commit solves the issue.manu wrote:From a short view it's because you need an extra tinymce plugin. Did you ever try this config option. This might work for both tinymce variants.
Code: Select all
{
selector: "%SELECTOR%",
theme: "modern",
skin: "lightgray",
toolbar_items_size: "small",
menubar:false,
plugins: [
"advlist anchor autolink autosave charmap code colorpicker contextmenu emoticons fullscreen hr",
"image importcss insertdatetime link lists media nonbreaking paste",
"save searchreplace table textcolor visualblocks visualchars wordcount fontawesome noneditable"
],
external_plugins: {
"fontawesome": "/private_root/webseite/plugins/fa/editors/tinymce4/fontawesome/plugin.min.js"
},
toolbar1: "save | fullscreen code formatselect fontselect fontsizeselect styleselect",
toolbar2: "bold italic underline strikethrough | alignleft aligncenter alignright alignjustify cut copy paste pastetext | bullist numlist outdent indent blockquote",
toolbar3: "undo redo | link unlink anchor image media | hr nonbreaking removeformat visualblocks visualchars | forecolor backcolor | searchreplace | charmap fontawesome",
toolbar4: "emoticons subscript superscript | table inserttime help",
image_advtab: true,
image_title: true,
file_browser_callback: "%FILEBROWSER_CALLBACK%",
content_css: "%STYLESHEET%,/private_root/webseite//fa/css/font-awesome.min.css",
importcss_append:true,
style_formats_autohide: true,
importcss_selector_filter: /(?:([a-z0-9\-_]+))(\.[a-z0-9_\-\.]+)$/i,
%LANGUAGE%
element_format: "%ELEMENT_FORMAT%",
block_formats: "%HEADERS%;p=p;div=div;code=code;pre=pre;dt=dt;dd=dd",
"insertdatetime_formats": ["%H:%M:%S", "%d.%m.%Y", "%I:%M:%S %p", "%D"],
relative_urls: true,
convert_urls: false,
entity_encoding: "raw",
noneditable_noneditable_class: 'fa',
extended_valid_elements: 'span[*]'
}
Code: Select all
external_plugins: {
"fontawesome": "%CMSIMPLE_ROOT%plugins/fa/editors/tinymce4/fontawesome/plugin.min.js"
},