pinzolo / redmine_persist_wfmt

redmine_persist_wfmt is a plugin for Redmine that persists wiki format.
MIT License
29 stars 13 forks source link

Add common mark for redmine 5.0 or later. #23

Closed kondo-dc closed 4 months ago

kondo-dc commented 5 months ago

Add common mark helper patch for Redmine 5.0 or later. CommonMark is available for Redmine 5.0 and later, and has been the default since 5.1. The format selection list can be displayed correctly even if CommonMark is set in /settings.

kondo-dc commented 4 months ago

Modify isMarkdownSelected function in pwfmt.js. Toolbar buttons add textile format with common mark. So, add common_mark condition.

pinzolo commented 4 months ago

I changed the target branch to master because I merged zeitwerk branch into master.

pinzolo commented 4 months ago

Sorry for my late response. LGTM