]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/cutpaste.pm
table: Support header=column to make the table header be the first column of the...
[git.ikiwiki.info.git] / IkiWiki / Plugin / cutpaste.pm
index b1161ba063c64ca8ecd8e08ec711d43682de64d5..24a05601df5ccd02e25a69ad1c254a4c6840871b 100644 (file)
@@ -9,11 +9,20 @@ use UNIVERSAL;
 my %savedtext;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "cutpaste", call => \&getsetup);
        hook(type => "preprocess", id => "cut", call => \&preprocess_cut, scan => 1);
        hook(type => "preprocess", id => "copy", call => \&preprocess_copy, scan => 1);
        hook(type => "preprocess", id => "paste", call => \&preprocess_paste);
 } # }}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 sub preprocess_cut (@) { #{{{
        my %params=@_;