You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  • Support
  • Forum
  • JCE Editor
  • Last version of JCE — T4 Compiled CSS use automatically to style editor... Can I use in Astroid framework (only one main compiled css file?

Support is currently Online

Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
  Friday, 09 April 2021
  13 Replies
  8.7K Visits
The compiled css file generated by the T4 template framework is now used to style editor content when using a JoomlArt template.


I’m upgrading now and look at that possibility...

I’m using Joomdev Astroid, the have only one main compiled css and so far I do my editor.css file manually.

It will be great to be able to use this on other framework than T4 — Possibility to override your component to work with Astroid?
more than a month ago
·
#107430
Accepted Answer
If you have an editor.css file in the template's css folder, then this will be used, otherwise the compiled css files will be loaded instead.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107420
Support for "Astroid" has been added in JCE Pro 2.9.6 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107429
Great Ryan, is this integrated or you need to switch it on.

I already have a custom editor_content.css file

How does it work?
more than a month ago
·
#107430
Accepted Answer
If you have an editor.css file in the template's css folder, then this will be used, otherwise the compiled css files will be loaded instead.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Chacapamac selected the reply #107430 as the answer for this post — 8 months ago
more than a month ago
·
#107447
Some files were not correctly installed in beta 4. Please try JCE Pro 2.9.6 Beta 5 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107451
Cool, I didn’t have time to try yet. :D

It will work only with that name “editor.css” or whatever file name is set in JCE config?
more than a month ago
·
#107452
If you have an editor.css file, then this is used automatically if the Editor Styles option is set to Template CSS Files, otherwise, the template's stylesheets are used.

If you have set Custom CSS Files, then these are used.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107486
Thanks — Good Day!
more than a month ago
·
#107717
I try with both editor.css and my set editor_content.css

Be sure to clear ALL caches (Browser, Joomla) and also clear the compiled Astroid CSS to recreate them by reloading the frontal website.

Astroid compiled css are recreated, but both editor css files stay empty (I empty them before to try)

I’m probably missing something ?
more than a month ago
·
#107719
Astroid compiled css are recreated, but both editor css files stay empty (I empty them before to try)


Astroid does not create an editor.css file, you need to do this yourself if you want a custom editor.css file.

The editor should load the correct css files for the template anyway.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107722
Astroid does not create an editor.css file, you need to do this yourself if you want a custom editor.css file.

Yes, Ryan, my JCE settings are for editor_content.css that I’m used to create myself in all my websites.
In templates > mytemplate > css folder

For now, I simply put the content of the main css file Astroid Compiled SCSS, plus my awesome call to have a close WYSIWYG view in the editor.

— Here, I have my set editor_content.css and I create an editor.css just to be sure. empty them (I just leave my awesome link, just to see if overwritten )

— I clear ALL CACHES and Astroid Caches and verify that the compiled css (in the css folder) are correctly erase and reload the site to recreate them

Both editor_content.css and editor.css stay unchanged, nothing is transfer to them?
more than a month ago
·
#107725

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107752
In your instance, I assume you want to load the template's compiled css and your editor_content.css file.

Therefore you need to set the Editor Styles option to Template CSS Files, so the editor can load the correct compiled css files for the Astroid framework, and then specify your custom editor_content.css as an additional file to load, in Editor Profiles -> Editor Parameters -> Typography.

I have done this for you on your site.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107756
Work perfectly, my bad, now I understand how it work — Great , Almost a WYSIWYG
— Just need drag and drop...
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!