Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dokuwiki:double-click_code_block_selection [2018/11/04 12:46]
admin
dokuwiki:double-click_code_block_selection [2019/12/05 20:58] (current)
admin [Double-click code block selection]
Line 36: Line 36:
   .. <code php>'<​pre class="'​.$type.'">'​   .. <code php>'<​pre class="'​.$type.'">'​
 // ... // ...
-"<​pre class=\"​$class $language\">"​+"<​pre ​title="​TIP:​ Double-click anywhere in the block to select all the code" ​class=\"​$class $language\">"​
 </​code>​ </​code>​
   .. with   .. with
   .. <code php>'<​pre ondblclick="​firefive_selectCode(this);"​ class="'​ . $type . '">'​   .. <code php>'<​pre ondblclick="​firefive_selectCode(this);"​ class="'​ . $type . '">'​
 // ... // ...
-'<​pre ondblclick="​firefive_selectCode(this);"​ class="'​ . $class . ' ' . $language . '">'​+'<​pre ​title="​TIP:​ Double-click anywhere in the block to select all the code" ​ondblclick="​firefive_selectCode(this);"​ class="'​ . $class . ' ' . $language . '">'​
 </​code>​ </​code>​