<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href='https://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" type="text/css" href="../stylesheets/stylesheet.css" media="screen">
    <link rel="stylesheet" type="text/css" href="../stylesheets/pygment_trac.css" media="screen">
    <link rel="stylesheet" type="text/css" href="../stylesheets/print.css" media="print">
    
    <link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
    <link href="https://www.dropbox.com/sh/ihoo4qpj8ibm99l/AACvtN2V-T5hjh4FN1_8Slkna/redactor.css?dl=1" type="text/css" rel="stylesheet" />
   
    <title>Redactor-Plugins by carstenschaefer</title>
    
    <style type="text/css">
	   .redactor-toolbar li .re-icon.re-copyFormat{
                background-image: url('https://cloud.githubusercontent.com/assets/5699380/12073842/6b4b5e46-b134-11e5-8c4b-2a449043caa7.png');
     }
     
     .eyedropper{
                cursor: url('eyedropper.png'), auto;
     }
  </style>
     

  </head>

  <body>
    <header>
      <div class="inner">
        <h1>Redactor-Plugin: copyformat</h1>
        <h2>Demo of our plugin 'copyformat' we&#39;ve developed for Redactor, a WYSIWYG rich-text editor made by Imperavi</h2>
        <a href="https://github.com/carstenschaefer/redactor-copyformat" class="button"><small>Fork me on</small> GitHub</a>
		
      </div>
    </header>

    <div id="content-wrapper">
      <div class="inner clearfix">
        <section id="main-content">

	Press CTRL + F to show popup or use toolbar button.
  <div id="editor-Searchreplace"></div>

  <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
  <script type="text/javascript" src="https://www.dropbox.com/sh/ihoo4qpj8ibm99l/AAAgEaoRC3nyq-GG_UvWw7V6a/redactor.min.js?dl=1"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/copyformat.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/RedactorCallbacksFix.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/RedactorBoldItalicFix.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-fontFamily/master/fontFamily.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-fontSize/master/fontSize.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/fontcolor.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/carstenschaefer.github.io/master/fontcolor.js"></script>
  
  <script type="text/javascript">
		$(function() {
       $("#editor").redactor({
          plugins: ['callbacksFix', 'fontFamily', 'fontSize', 'copyFormat', 'fontcolor', 'boldItalicFix'],
          allowedAttr: [
            ["strong", "style"],
            ["em", "style"],
            ["b", "style"],
            ["i", "style"]
          ],
          fontFamily: {<commit_msg>adds description<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset='utf-8'>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href='https://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" type="text/css" href="../stylesheets/stylesheet.css" media="screen">
    <link rel="stylesheet" type="text/css" href="../stylesheets/pygment_trac.css" media="screen">
    <link rel="stylesheet" type="text/css" href="../stylesheets/print.css" media="print">
    
    <link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
    <link href="https://www.dropbox.com/sh/ihoo4qpj8ibm99l/AACvtN2V-T5hjh4FN1_8Slkna/redactor.css?dl=1" type="text/css" rel="stylesheet" />
   
    <title>Redactor-Plugins by carstenschaefer</title>
    
    <style type="text/css">
     .redactor-toolbar li .re-icon.re-copyFormat{
     	background-image: url('https://cloud.githubusercontent.com/assets/5699380/12073842/6b4b5e46-b134-11e5-8c4b-2a449043caa7.png');
     }
     
     .eyedropper{
     	cursor: url('https://cloud.githubusercontent.com/assets/5699380/12073842/6b4b5e46-b134-11e5-8c4b-2a449043caa7.png'), auto;
     }
  </style>
     

  </head>

  <body>
    <header>
      <div class="inner">
        <h1>Redactor-Plugin: copyformat</h1>
        <h2>Demo of our plugin 'copyformat' we&#39;ve developed for Redactor, a WYSIWYG rich-text editor made by Imperavi</h2>
        <a href="https://github.com/carstenschaefer/redactor-copyformat" class="button"><small>Fork me on</small> GitHub</a>
		
      </div>
    </header>

    <div id="content-wrapper">
      <div class="inner clearfix">
        <section id="main-content">

	Add a text, format it and then add a new line without formatting. <br/>
	Then use eyedropper icon in toolbar to copy formatting of first line. <br/>
	After you have copied the formatting click on a word or a selection to apply the formatting.
  <div id="editor-Searchreplace"></div>

  <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
  <script type="text/javascript" src="https://www.dropbox.com/sh/ihoo4qpj8ibm99l/AAAgEaoRC3nyq-GG_UvWw7V6a/redactor.min.js?dl=1"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/copyformat.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/RedactorCallbacksFix.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/RedactorBoldItalicFix.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-fontFamily/master/fontFamily.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-fontSize/master/fontSize.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/redactor-copyformat/master/fontcolor.js"></script>
  <script type="text/javascript" src="https://cdn.rawgit.com/carstenschaefer/carstenschaefer.github.io/master/fontcolor.js"></script>
  
  <script type="text/javascript">
		$(function() {
       $("#editor").redactor({
          plugins: ['callbacksFix', 'fontFamily', 'fontSize', 'copyFormat', 'fontcolor', 'boldItalicFix'],
          allowedAttr: [
            ["strong", "style"],
            ["em", "style"],
            ["b", "style"],
            ["i", "style"]
          ],
          fontFamily: {
{'fraction_non_alphanumeric': 0.1757043749115107, 'fraction_numerical': 0.024918589834348012, 'mean_word_length': 3.9192200557103063, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 27, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2740870', 'n_tokens_mistral': 2565, 'n_tokens_neox': 2464, 'n_words': 343}