Reference:PreToClip: Difference between revisions

No edit summary
Tag: 2017 source edit
m (Text replacement - "BlueSpice Cloud" to "BlueSpice cloud")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BSExtensionInfobox
{{BSExtensionInfo
|desc=Allows to copy contents of PRE tags into the clipboard
|desc=Allows to copy contents of PRE tags into the clipboard
|status=stable
|status=stable
|developer=Thomas Candrian
|developer=Thomas Candrian, Robert Vogel
|type=MediaWiki
|type=MediaWiki
|edition=BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
|edition=BlueSpice pro, BlueSpice farm, BlueSpice cloud
|compatible=MediaWiki
|compatible=MediaWiki
|category=Content Structuring
|category=Content Structuring
|docu=https://www.mediawiki.org/wiki/Extension:PreToClip
|docu=https://www.mediawiki.org/wiki/Extension:PreToClip
|features=[[File:VE-computer code.png|thumb|200px|right|alt=Menu item for Computer code|Menu item for Computer code]]The '''PreToClip''' extension adds a "Copy to clipboard" button to every <nowiki><pre></nowiki> tag. <nowiki><pre></nowiki> tags can be generated with the VisualEditor menu item ''Computer code'' or with the [[Manual:Extension/ContentDroplets|ContentDroplet]] ''Code''.
|features=The '''PreToClip''' extension adds a "Copy to clipboard" button to every <code><nowiki><pre></nowiki></code> tag. <code><nowiki><pre></nowiki></code> tags can be generated with the [[Manual:Extension/ContentDroplets|ContentDroplet]] ''Code''.


[[File:Extension PreToClip.png|thumb|450px|center|alt=PreToClip "Copy" button|PreToClip "Copy" button]]
[[File:Extension PreToClip.png|thumb|450px|center|alt=PreToClip "Copy" button|PreToClip "Copy" button]]


This extension is using the JavaScript and Flash from https://github.com/zeroclipboard/ZeroClipboard presented on https://zeroclipboard.github.io/
|bsvFrom=4.3
|bsvFrom=4.3
|active=Yes
|active=Yes
}}
}}
{{wcagCheck}}
{{wcagCheck}}

Latest revision as of 10:49, 7 June 2024

Extension: PreToClip

all extensions

Overview
Description:

Allows to copy contents of PRE tags into the clipboard

State: stable Dependency: MediaWiki
Developer: Thomas Candrian, Robert Vogel License: GPL-3.0-only
Type: MediaWiki Category: Content Structuring
Edition: BlueSpice pro, BlueSpice farm, BlueSpice cloud Version: 4.3+
For more info, visit Mediawiki.

Features

The PreToClip extension adds a "Copy to clipboard" button to every <pre> tag. <pre> tags can be generated with the ContentDroplet Code.

PreToClip "Copy" button
PreToClip "Copy" button

Technical Information

This information applies to BlueSpice 4. Technical details for BlueSpice cloud can differ in some cases.

Requirements

  • MediaWiki: 1.39.0

Integrates into

Special pages

Hooks