Sfoglia il codice sorgente

Merge branch 'dev/4.0.x' into support/reactify-create-page

itizawa 5 anni fa
parent
commit
c791ff4e9f
2 ha cambiato i file con 14 aggiunte e 1 eliminazioni
  1. 13 0
      CHANGES.md
  2. 1 1
      src/server/views/widget/page_content.html

+ 13 - 0
CHANGES.md

@@ -2,6 +2,19 @@
 
 ## v4.0.0-RC
 
+### BREAKING CHANGES
+
+* Crowi Classic Behavior is removed
+* Crowi Classic Layout is removed
+* 'default-dark' theme is now merged as a dark mode variant of 'default' theme
+* 'blue-night' theme is now merged as a dark mode variant of 'mono-blue' theme
+
+### Updates
+
+* Feature: Switch Light/Dark Mode
+* Improvement: Migrate to Bootstrap 4
+* Improvement: Copy Page URL menu item to copy path dropdown
+* Improvement: Show contributors by Bootstrap Modal
 * Support: Upgrade libs
     * bootstrap
 

+ 1 - 1
src/server/views/widget/page_content.html

@@ -18,7 +18,7 @@
   >
 {% else %}
 <div id="content-main" class="content-main"
-  data-path="{{ encodeURI(page.path) }}"
+  data-path="{{ encodeURI(path) }}"
   data-current-user="{% if user %}{{ user._id.toString() }}{% endif %}"
   data-slack-channels="{{ slack|default('') }}"
   >