Opened 11 years ago
Closed 10 years ago
#29137 closed enhancement (invalid)
Allow to add the stylesheets version in TinyMCE (or any other param)
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
As a front-end developer, it's really a pain in the *$* to not be able to add a version parameter to my stylesheets URL in TinyMCE: the modifications won't show up because of the cache.
So far, I had a workaround by filtering 'mce_css'
. But with the new iframes used for the self-hosted videos/audios in WP 4.0, I can't use this filter there (BTW, are you sure to keep those awful iframes? :s). Even worse, some iframes don't use the stylesheets (tweets for example).
Attachments (3)
Change History (10)
#2
in reply to:
↑ 1
@
11 years ago
Replying to wonderboymusic:
Without the iframes, compatibility is gross: https://core.trac.wordpress.org/ticket/28905#comment:6
OK, if those iframes improve the compatibility, I won't complain anymore :) (well, maybe a little sometimes =D). Looking at your test results, it's impressive, congrats.
#3
@
11 years ago
On second though, file_exists
can mess with other things: if you use cache busting for example.
Perhaps a filter is a better solution.
See the attached diff file.
Without the iframes, compatibility is gross: https://core.trac.wordpress.org/ticket/28905#comment:6