28 | Posts |
ShowAllAchors 1.0 needs update for TS 5.2.
I have used your trick from Responsive Image to fix the plugin but can't send you a PR.
public static function PageRunScript($cmd) {
global $page, $dirPrefix;
if( \gp\tool::LoggedIn() ){
$ckeditor_basepath = (version_compare(gpversion, '5.1') > 0) ?
\gp\tool::GetDir('/include/thirdparty/ckeditor/') :
\gp\tool::GetDir('/include/thirdparty/ckeditor_34/');...
background: url(' . $dirPrefix . $ckeditor_basepath . 'plugins/link/images/anchor.png) no-repeat left center;
UPD
FYI. I have also changed style of marker to have less influence on the layout of the page.
<style>
body.showAllAnchors .GPAREA a[id]::before,
body.showAllAnchors .GPAREA a[name]::before {
content: "";
background: url(' . $dirPrefix . $ckeditor_basepath . 'plugins/link/images/anchor.png) no-repeat left top, #0000ff33;
border: 1px dotted #0000ff;
z-index: 10;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0.6;
}
1.5K | Posts |
64.6K | Downloads |
16 | Plugins |
Thanks. I added the compatibility fix and put it on GitHub
position: absolute; top: 0; left: 0;
This will only work inside a non-position-static context
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More News
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using