0001-Enable-task-list-for-CommonMark-Markdown-formater-35.patch

Marius BALTEANU, 2021-08-15 22:36

Download (2.28 KB)

View differences:

Gemfile
52 52
  gem "html-pipeline", "~> 2.13.2"
53 53
  gem "commonmarker", (Gem.ruby_version < Gem::Version.new('2.6.0') ? '0.21.0' : '~> 0.22')
54 54
  gem "sanitize", "~> 6.0"
55
  gem 'deckar01-task_list', '2.3.2'
55 56
end
56 57

  
57 58
# Include database gems for the adapters found in the database
lib/redmine/wiki_formatting/common_mark/formatter.rb
18 18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19 19

  
20 20
require 'html/pipeline'
21
require 'task_list/filter'
21 22

  
22 23
module Redmine
23 24
  module WikiFormatting
......
53 54
        SyntaxHighlightFilter,
54 55
        FixupAutoLinksFilter,
55 56
        ExternalLinksFilter,
57
        TaskList::Filter
56 58
      ], PIPELINE_CONFIG
57 59

  
58 60
      class Formatter < Redmine::WikiFormatting::Markdown::Formatter
public/stylesheets/application.css
1312 1312
h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor, h4:hover a.wiki-anchor, h5:hover a.wiki-anchor, h6:hover a.wiki-anchor { display: inline; color: #ddd; }
1313 1313

  
1314 1314
div.wiki img {vertical-align:middle; max-width:100%;}
1315
div.wiki .task-list {
1316
  list-style-type: none;
1317
  padding-left: 0px;
1318
}
1319
div.wiki .task-list input.task-list-item-checkbox {
1320
  height: initial;
1321
}
1322

  
1315 1323

  
1316 1324
/***** My page layout *****/
1317 1325
.block-receiver {
1318
-