redcocker
Forum Replies Created
-
Forum: Plugins
In reply to: [WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] theme 'randam' ?I corrected this typo in ver. 1.6.5.
Forum: Plugins
In reply to: [WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] theme 'randam' ?Hi teracow san,
Thank you for your report.
Yes, I made a typo.
I will correct it in the next release.Hi, teracow san
“Line number(Gutter)” on the setting panel defines a default value.
It doesn’t affect the separate settings for existing codes in the posts.
(Of course, new added codebloks accord this default value.)So, By use of the “pre” button, you should change the setting values of each codeblocks in the posts.
1. With the mouse, select whole your code.
2. Click “pre” button.
3. Untick “Show Line Number” option.
4. Click “Update” button.Hi ab-tools san,
Of course, OK.
Forum: Plugins
In reply to: [WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] Copy/Paste (annoying)SyntaxHighlighter 1.5.8 released to fix #1 issue.
Forum: Plugins
In reply to: [WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] Copy/Paste (annoying)xer21 san,
Thank you for your reply.
I finally reproduced #1 issue on Opera 11.
This issue wasn’t caused by CRLF on the Visual Studio.
My javascript code had more serious bug.When entering your code in the textarea, your browser replaces all line breaks.
Opera 11 for Win32 replaces all line breaks with CRLF.
IE9 for Win32 replaces all line breaks with LF.
This behavior will vary by browser and version.But I didn’t know about this behavior.
Now I fixed #1 issue and you can download Development Version.
And thank you for the information about #2 issue.
I will wait until the next release of SyntaxHighlighter.Forum: Plugins
In reply to: [WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] Copy/Paste (annoying)xer21 san
Frankly, I can’t understand about #1 issue, becase I haven’t used Visual Studio.
However, Let me know whether it works or not, when you repalce
var code = document.getElementById('shtb_box_code').value.replace(/</g,'<').replace(/\n/g,'<br>');
with
var code = document.getElementById('shtb_box_code').value.replace(/</g,'<');
or
var code = document.getElementById('shtb_box_code').value.replace(/</g,'<').replace(/\r\n/g,'<br>'); var code = code.replace(/\n|\r/g,'<br>');
Sorry, I might misunderstood about #2 issue.
If you set 3.0.38 as “Library version” on the senttig panel,
To copy the code with correct line breaks to the clipboard, you must double-click on the code bolock and copy the code.Thank you.
Forum: Plugins
In reply to: [WP SyntaxHighlighter] [Plugin: WP SyntaxHighlighter] Copy/Paste (annoying)xer21 san
Thanks.
It would be helpful if you could tell Alex(the author of SyntaxHighlighter) about #2 also.
Alex’s site: https://alexgorbatchev.com/SyntaxHighlighter/
Ver. 1.5.5 has the new setting option to change label for expand source.
roothost san
I installed “TinyMCEComments” and tried to
add buttons using “Buttons in use” and “Plugins in use” options.
But I can’t add buttons.Perhaps, “TinyMCEComments” can load plugins only in
/wp-includes/js/tinymce/plugins/
.If you make a plugin for TinyMCE and put it in
/wp-includes/js/tinymce/plugins/
, It may be successful.How to make a TinyMCE Plugin: https://www.tinymce.com/wiki.php/Creating_a_plugin
roothost san
Do you use any plugins to replace default comment form usig HTML Editor with one using TinyMCE?
Let me know the plugin name(and url).
D0ctor san
If you choose “3.0.83” in Library version,
1. Just enter “title”. When code is collapsed, title will be shown as label.
or
2. Edit wp-syntaxhighlighter.php.Line 731
echo " SyntaxHighlighter.config.strings.expandSource = '".__( '+ expand source', 'wp_sh' )."';
“+ expand source” is shown as label.
If you choose “2.1.382”, you have to edit wp-syntaxhighlighter.php.
Line 756
echo " SyntaxHighlighter.config.strings.expandSource = '".__( 'show source', 'wp_sh' )."';
In next release, I will add option to change label for expand source.
pzxbc san
“?” is toolbar.
If you want feature-rich toolbar, Go to Dashboard -> Settings -> WP SyntaxHighlighter and switch from 3.0.83 to 2.1.382 in “Library version” option.
Hi @wikicms san
Thank you for your report.
I fixed this bug.
Please try the development version.https://downloads.www.ads-software.com/plugin/wp-syntaxhighlighter.zip
Hi, pzxbc san
Are you using WP SyntaxHighlighter?
I tested WP SyntaxHighlighter with following browsers.
But the toolbar was displayed in the upper right.IE 9, IE8
FireFox 5
Chrome 12Let me know your OS, WP SyntaxHighlighter version, your browser and version.
If you are using with Minify, please deactivate it.