• Resolved at2oo1

    (@at2oo1)


    I am using “Crayon Syntax Highlighter” to show some Progamming Languages, Linux Shell Commands and Code in a nice style. I have glossary entries for some commands highlighted with the syntax tool.

    Glossary inserts tooltips and links within this special content, but i dont want that.

    How to avoid linking an tooltips within special content. Here is an example of some crayon higlighted code.

    <div id="crayon-55584da4b7464062271900" class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover disable-anim" style="margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important; height: auto;"><div class="crayon-toolbar" data-settings=" mouseover hide delay" style="font-size: 12px !important; height: 18px !important; line-height: 18px !important; margin-top: -18px; display: none; z-index: 4;"><span class="crayon-title"></span><div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;"><div class="crayon-button crayon-plain-button" title="Unformatierte Code-Ansicht"><div class="crayon-button-icon"></div></div><div class="crayon-button crayon-wrap-button" title="Zeilenumbruch umschalten"><div class="crayon-button-icon"></div></div><div class="crayon-button crayon-expand-button" title="Code aufklappen"><div class="crayon-button-icon"></div></div><div class="crayon-button crayon-copy-button" title="Copy"><div class="crayon-button-icon"></div></div><div class="crayon-button crayon-popup-button" title="Code in einem neuen Fenster anzeigen"><div class="crayon-button-icon"></div></div></div></div><div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;"></div><div class="crayon-plain-wrap"><textarea wrap="soft" class="crayon-plain print-no" data-settings="dblclick" readonly="" style="tab-size: 4; font-size: 12px !important; line-height: 15px !important; z-index: 0; opacity: 0; overflow: hidden;">sudo nano /etc/init.d/MeinProgramm</textarea></div><div class="crayon-main" style="position: relative; z-index: 1; overflow: hidden;"><table class="crayon-table" style="margin-left: -19px;"><tbody><tr class="crayon-row"><td class="crayon-nums " data-settings="hide"><div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;"><div class="crayon-num" data-line="crayon-55584da4b7464062271900-1">1</div></div></td><td class="crayon-code"><div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;"><div class="crayon-line" id="crayon-55584da4b7464062271900-1"><span class="crayon-e">sudo </span><span class="crayon-v">nano</span><span class="crayon-h"> </span><span class="crayon-o">/</span><span class="crayon-v">etc</span><span class="crayon-o">/</span><span class="crayon-v">init</span><span class="crayon-e">.d</span><span class="crayon-o">/</span><span class="crayon-v">MeinProgramm</span></div></div></td></tr></tbody></table></div></div>

    https://ww.wp.xz.cn/plugins/enhanced-tooltipglossary/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter at2oo1

    (@at2oo1)

    I tried to insert [glossary_exclude] and [/glossary_exclude] automatically within the crayon php code. But the Shortcodes not got parsed by wordpress, the page shows “[glossary_exclude]”…

    Thread Starter at2oo1

    (@at2oo1)

    Well the tags are shown in posts even in insert them by hand. Somthing goes wrong here 🙁

    Thread Starter at2oo1

    (@at2oo1)

    … Well sorry, noticed that the Shortcode Hook only gets active after a glassary item is added… Maybe you want to add the shortcode hook independend of existing glossary items, this will make things easier for admins / users.

    Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    Recapping all your posts – the glossary exclude solved the issue but only after you added a term?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Exclude elemets from insert links & tooltips?’ is closed to new replies.