Feature #50039

Allow adding multiple CSS files

Added by Eric Chavaillaz almost 6 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2013-07-15
Due date:
% Done:

100%

PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:

Description

Hi,

It would be very great if we can add more than only one custom CSS styleSheet in the RTE.

Now, the configuration is like this :

RTE.default.contentCSS = my_path_to_my_css_stylesheet.css

Why not add the possibility to use something like this :

RTE.default.contentCSS = my_path_to_my_css_stylesheet_1.css,my_path_to_my_css_stylesheet_2.css,my_path_to_my_css_stylesheet_3.css

Thanks a lot!

Associated revisions

Revision 9647bb9e (diff)
Added by Stanislas Rolland over 4 years ago

[FEATURE] Allow adding multiple CSS files in RTE

Allow to add more than one CSS file in the RTE header.

The new syntax is like this:
RTE.default.contentCSS {
file1 = fileadmin/myStylesheet1.css
file2 = fileadmin/myStylesheet2.css
}

If no CSS files are set, the RTE default CSS file is still added.

Releases: master
Resolves: #50039
Change-Id: I4b8545982a59382ca4e01abc4440f0b94693ccdc
Reviewed-on: http://review.typo3.org/24523
Reviewed-by: Stanislas Rolland <>
Tested-by: Stanislas Rolland <>

History

#1 Updated by Stanislas Rolland almost 6 years ago

Why not using @import rules?

#2 Updated by Eric Chavaillaz almost 6 years ago

Because the @import rule is very slow and can affect the rendering : http://www.stevesouders.com/blog/2009/04/09/dont-use-import/

#3 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24523

#4 Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24523

#5 Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24523

#6 Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24523

#7 Updated by Gerrit Code Review over 5 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24523

#8 Updated by Ernesto Baschny over 5 years ago

  • Target version deleted (6.2.0)

Sorry, this feature will have to wait for the next TYPO3 version!

#9 Updated by Gerrit Code Review almost 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/24523

#10 Updated by Gerrit Code Review over 4 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24523

#11 Updated by Gerrit Code Review over 4 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24523

#12 Updated by Gerrit Code Review over 4 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/24523

#13 Updated by Stanislas Rolland over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#14 Updated by Benni Mack 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF