Page 5 of 9

Re: Fa_XH

Posted: Fri Apr 14, 2017 8:20 pm
by manu
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.

Re: Fa_XH

Posted: Sat Apr 15, 2017 1:53 pm
by cmb
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.
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.

Re: Fa_XH

Posted: Mon Apr 17, 2017 4:14 pm
by cmb
Hi everybody!

I've just released Fa_XH 1.0beta2.

I've fixed a few bugs and made several improvements. See the changelog for details.

Enjoy!

Re: Fa_XH

Posted: Fri Apr 21, 2017 3:29 pm
by cmb
Hi everybody!

I've just released Fa_XH 1.0beta3.

I've fixed a single bug which made the plugin require PHP 5.5.0 or higher, see the changelog for details.

Enjoy!

Re: Fa_XH

Posted: Sun Apr 23, 2017 2:13 pm
by cmb
Hi everybody!

I've just released Fa_XH 1.0beta4.

I've fixed two bugs, see the changelog for details.

Enjoy!

Re: Fa_XH

Posted: Fri Apr 28, 2017 11:45 pm
by cmb
Hi everybody!

I have released Fa_XH 1.0beta5.

Most notably, I've added a font-awesome Plugin for CKEditor. Many thanks to Holger for making the editor integration so painless!

For details see the changelog.

Enjoy!

Re: Fa_XH

Posted: Wed May 24, 2017 4:17 pm
by cmb
Hi everybody!

Fa_XH 1.0rc1 has just been released.

This new version contains only minor improvements; see the changelog for details.

Enjoy!

Re: Fa_XH

Posted: Sat May 27, 2017 11:21 am
by cmb
Hi everybody!

Fa_XH 1.0rc2 has just been released.

This version fixes an issue regarding unsupported syntax on PHP 5.3; see the changelog for details.

Enjoy!

Re: Fa_XH

Posted: Mon Jun 19, 2017 12:52 pm
by aceaccis
Hi cmb,

just tried to install Fa_XH-1.0rc2 under CMSimple_XH 1.6.10.

I did the changes in init_frontawesome.js but can't see any Tab under tinymce Version: 3.5.11 (2014-05-08).

Think it could be the path im not sure if I understood it right.

My Path is /private_root/webseite/plugins/tinymce/inits so I changed all from %CMSIMPLE_ROOT% to /private_root/webseite/ ,
is this right ?

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[*]'
}
tinymce.png

Thx Chris

Re: Fa_XH

Posted: Mon Jun 19, 2017 1:09 pm
by Tata
I think, it works only with tinymce4 (not tested with older editors). With me this setting works

Code: Select all

 external_plugins: {
    "fontawesome": "%CMSIMPLE_ROOT%plugins/fa/editors/tinymce4/fontawesome/plugin.min.js"
  },
CKditor, however, doesn't require any settings.
Have you set the Fa plugin to Require/Auto?