WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
Wrong title on copy-paste button (2 posts)

  1. wizzud
    Member
    Posted 1 year ago #

    Nice plugin. At some point in future updates, could you change the copy-paste button's title to, maybe, 'Copy-Paste' instead of the 'Expand Code' that currently (v1.3) appears? Thanks.

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. KimTasker
    Member
    Posted 1 year ago #

    I have the same issue in current version (v2.2)
    it's easily changed though, you just need to edit crayon_formatter.class.php, and change this line of code (line 303 in the version I have) :
    $buttons['copy'] = crayon__('Expand Code');

    switch 'Expand Code' to whatever text best suits you (I put 'Select Code')

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.