diff --git a/client/src/sceditor/README.md b/client/public/sceditor/README.md similarity index 100% rename from client/src/sceditor/README.md rename to client/public/sceditor/README.md diff --git a/client/src/sceditor/development/formats/bbcode.js b/client/public/sceditor/development/formats/bbcode.js similarity index 100% rename from client/src/sceditor/development/formats/bbcode.js rename to client/public/sceditor/development/formats/bbcode.js diff --git a/client/src/sceditor/development/formats/xhtml.js b/client/public/sceditor/development/formats/xhtml.js similarity index 100% rename from client/src/sceditor/development/formats/xhtml.js rename to client/public/sceditor/development/formats/xhtml.js diff --git a/client/src/sceditor/development/icons/material.js b/client/public/sceditor/development/icons/material.js similarity index 100% rename from client/src/sceditor/development/icons/material.js rename to client/public/sceditor/development/icons/material.js diff --git a/client/src/sceditor/development/icons/monocons.js b/client/public/sceditor/development/icons/monocons.js similarity index 100% rename from client/src/sceditor/development/icons/monocons.js rename to client/public/sceditor/development/icons/monocons.js diff --git a/client/src/sceditor/development/jquery.sceditor.bbcode.js b/client/public/sceditor/development/jquery.sceditor.bbcode.js similarity index 100% rename from client/src/sceditor/development/jquery.sceditor.bbcode.js rename to client/public/sceditor/development/jquery.sceditor.bbcode.js diff --git a/client/src/sceditor/development/jquery.sceditor.js b/client/public/sceditor/development/jquery.sceditor.js similarity index 100% rename from client/src/sceditor/development/jquery.sceditor.js rename to client/public/sceditor/development/jquery.sceditor.js diff --git a/client/src/sceditor/development/jquery.sceditor.xhtml.js b/client/public/sceditor/development/jquery.sceditor.xhtml.js similarity index 100% rename from client/src/sceditor/development/jquery.sceditor.xhtml.js rename to client/public/sceditor/development/jquery.sceditor.xhtml.js diff --git a/client/src/sceditor/development/plugins/alternative-lists.js b/client/public/sceditor/development/plugins/alternative-lists.js similarity index 100% rename from client/src/sceditor/development/plugins/alternative-lists.js rename to client/public/sceditor/development/plugins/alternative-lists.js diff --git a/client/src/sceditor/development/plugins/autosave.js b/client/public/sceditor/development/plugins/autosave.js similarity index 100% rename from client/src/sceditor/development/plugins/autosave.js rename to client/public/sceditor/development/plugins/autosave.js diff --git a/client/src/sceditor/development/plugins/autoyoutube.js b/client/public/sceditor/development/plugins/autoyoutube.js similarity index 100% rename from client/src/sceditor/development/plugins/autoyoutube.js rename to client/public/sceditor/development/plugins/autoyoutube.js diff --git a/client/src/sceditor/development/plugins/dragdrop.js b/client/public/sceditor/development/plugins/dragdrop.js similarity index 100% rename from client/src/sceditor/development/plugins/dragdrop.js rename to client/public/sceditor/development/plugins/dragdrop.js diff --git a/client/src/sceditor/development/plugins/format.js b/client/public/sceditor/development/plugins/format.js similarity index 100% rename from client/src/sceditor/development/plugins/format.js rename to client/public/sceditor/development/plugins/format.js diff --git a/client/src/sceditor/development/plugins/plaintext.js b/client/public/sceditor/development/plugins/plaintext.js similarity index 100% rename from client/src/sceditor/development/plugins/plaintext.js rename to client/public/sceditor/development/plugins/plaintext.js diff --git a/client/src/sceditor/development/plugins/undo.js b/client/public/sceditor/development/plugins/undo.js similarity index 100% rename from client/src/sceditor/development/plugins/undo.js rename to client/public/sceditor/development/plugins/undo.js diff --git a/client/src/sceditor/development/plugins/v1compat.js b/client/public/sceditor/development/plugins/v1compat.js similarity index 100% rename from client/src/sceditor/development/plugins/v1compat.js rename to client/public/sceditor/development/plugins/v1compat.js diff --git a/client/src/sceditor/development/sceditor.js b/client/public/sceditor/development/sceditor.js similarity index 100% rename from client/src/sceditor/development/sceditor.js rename to client/public/sceditor/development/sceditor.js diff --git a/client/src/sceditor/development/themes/content/default.css b/client/public/sceditor/development/themes/content/default.css similarity index 100% rename from client/src/sceditor/development/themes/content/default.css rename to client/public/sceditor/development/themes/content/default.css diff --git a/client/src/sceditor/development/themes/default.css b/client/public/sceditor/development/themes/default.css similarity index 100% rename from client/src/sceditor/development/themes/default.css rename to client/public/sceditor/development/themes/default.css diff --git a/client/src/sceditor/development/themes/defaultdark.css b/client/public/sceditor/development/themes/defaultdark.css similarity index 100% rename from client/src/sceditor/development/themes/defaultdark.css rename to client/public/sceditor/development/themes/defaultdark.css diff --git a/client/src/sceditor/development/themes/famfamfam.png b/client/public/sceditor/development/themes/famfamfam.png similarity index 100% rename from client/src/sceditor/development/themes/famfamfam.png rename to client/public/sceditor/development/themes/famfamfam.png diff --git a/client/src/sceditor/development/themes/modern.css b/client/public/sceditor/development/themes/modern.css similarity index 100% rename from client/src/sceditor/development/themes/modern.css rename to client/public/sceditor/development/themes/modern.css diff --git a/client/src/sceditor/development/themes/office-toolbar.css b/client/public/sceditor/development/themes/office-toolbar.css similarity index 100% rename from client/src/sceditor/development/themes/office-toolbar.css rename to client/public/sceditor/development/themes/office-toolbar.css diff --git a/client/src/sceditor/development/themes/office.css b/client/public/sceditor/development/themes/office.css similarity index 100% rename from client/src/sceditor/development/themes/office.css rename to client/public/sceditor/development/themes/office.css diff --git a/client/src/sceditor/development/themes/square.css b/client/public/sceditor/development/themes/square.css similarity index 100% rename from client/src/sceditor/development/themes/square.css rename to client/public/sceditor/development/themes/square.css diff --git a/client/src/sceditor/emoticons/alien.png b/client/public/sceditor/emoticons/alien.png similarity index 100% rename from client/src/sceditor/emoticons/alien.png rename to client/public/sceditor/emoticons/alien.png diff --git a/client/src/sceditor/emoticons/angel.png b/client/public/sceditor/emoticons/angel.png similarity index 100% rename from client/src/sceditor/emoticons/angel.png rename to client/public/sceditor/emoticons/angel.png diff --git a/client/src/sceditor/emoticons/angry.png b/client/public/sceditor/emoticons/angry.png similarity index 100% rename from client/src/sceditor/emoticons/angry.png rename to client/public/sceditor/emoticons/angry.png diff --git a/client/src/sceditor/emoticons/blink.png b/client/public/sceditor/emoticons/blink.png similarity index 100% rename from client/src/sceditor/emoticons/blink.png rename to client/public/sceditor/emoticons/blink.png diff --git a/client/src/sceditor/emoticons/blush.png b/client/public/sceditor/emoticons/blush.png similarity index 100% rename from client/src/sceditor/emoticons/blush.png rename to client/public/sceditor/emoticons/blush.png diff --git a/client/src/sceditor/emoticons/cheerful.png b/client/public/sceditor/emoticons/cheerful.png similarity index 100% rename from client/src/sceditor/emoticons/cheerful.png rename to client/public/sceditor/emoticons/cheerful.png diff --git a/client/src/sceditor/emoticons/cool.png b/client/public/sceditor/emoticons/cool.png similarity index 100% rename from client/src/sceditor/emoticons/cool.png rename to client/public/sceditor/emoticons/cool.png diff --git a/client/src/sceditor/emoticons/credits.txt b/client/public/sceditor/emoticons/credits.txt similarity index 100% rename from client/src/sceditor/emoticons/credits.txt rename to client/public/sceditor/emoticons/credits.txt diff --git a/client/src/sceditor/emoticons/cwy.png b/client/public/sceditor/emoticons/cwy.png similarity index 100% rename from client/src/sceditor/emoticons/cwy.png rename to client/public/sceditor/emoticons/cwy.png diff --git a/client/src/sceditor/emoticons/devil.png b/client/public/sceditor/emoticons/devil.png similarity index 100% rename from client/src/sceditor/emoticons/devil.png rename to client/public/sceditor/emoticons/devil.png diff --git a/client/src/sceditor/emoticons/dizzy.png b/client/public/sceditor/emoticons/dizzy.png similarity index 100% rename from client/src/sceditor/emoticons/dizzy.png rename to client/public/sceditor/emoticons/dizzy.png diff --git a/client/src/pages/create-debate/emoticons.json b/client/public/sceditor/emoticons/emoticons.json similarity index 100% rename from client/src/pages/create-debate/emoticons.json rename to client/public/sceditor/emoticons/emoticons.json diff --git a/client/src/sceditor/emoticons/ermm.png b/client/public/sceditor/emoticons/ermm.png similarity index 100% rename from client/src/sceditor/emoticons/ermm.png rename to client/public/sceditor/emoticons/ermm.png diff --git a/client/src/sceditor/emoticons/face.png b/client/public/sceditor/emoticons/face.png similarity index 100% rename from client/src/sceditor/emoticons/face.png rename to client/public/sceditor/emoticons/face.png diff --git a/client/src/sceditor/emoticons/getlost.png b/client/public/sceditor/emoticons/getlost.png similarity index 100% rename from client/src/sceditor/emoticons/getlost.png rename to client/public/sceditor/emoticons/getlost.png diff --git a/client/src/sceditor/emoticons/grin.png b/client/public/sceditor/emoticons/grin.png similarity index 100% rename from client/src/sceditor/emoticons/grin.png rename to client/public/sceditor/emoticons/grin.png diff --git a/client/src/sceditor/emoticons/happy.png b/client/public/sceditor/emoticons/happy.png similarity index 100% rename from client/src/sceditor/emoticons/happy.png rename to client/public/sceditor/emoticons/happy.png diff --git a/client/src/sceditor/emoticons/heart.png b/client/public/sceditor/emoticons/heart.png similarity index 100% rename from client/src/sceditor/emoticons/heart.png rename to client/public/sceditor/emoticons/heart.png diff --git a/client/src/sceditor/emoticons/kissing.png b/client/public/sceditor/emoticons/kissing.png similarity index 100% rename from client/src/sceditor/emoticons/kissing.png rename to client/public/sceditor/emoticons/kissing.png diff --git a/client/src/sceditor/emoticons/laughing.png b/client/public/sceditor/emoticons/laughing.png similarity index 100% rename from client/src/sceditor/emoticons/laughing.png rename to client/public/sceditor/emoticons/laughing.png diff --git a/client/src/sceditor/emoticons/ninja.png b/client/public/sceditor/emoticons/ninja.png similarity index 100% rename from client/src/sceditor/emoticons/ninja.png rename to client/public/sceditor/emoticons/ninja.png diff --git a/client/src/sceditor/emoticons/pinch.png b/client/public/sceditor/emoticons/pinch.png similarity index 100% rename from client/src/sceditor/emoticons/pinch.png rename to client/public/sceditor/emoticons/pinch.png diff --git a/client/src/sceditor/emoticons/pouty.png b/client/public/sceditor/emoticons/pouty.png similarity index 100% rename from client/src/sceditor/emoticons/pouty.png rename to client/public/sceditor/emoticons/pouty.png diff --git a/client/src/sceditor/emoticons/sad.png b/client/public/sceditor/emoticons/sad.png similarity index 100% rename from client/src/sceditor/emoticons/sad.png rename to client/public/sceditor/emoticons/sad.png diff --git a/client/src/sceditor/emoticons/shocked.png b/client/public/sceditor/emoticons/shocked.png similarity index 100% rename from client/src/sceditor/emoticons/shocked.png rename to client/public/sceditor/emoticons/shocked.png diff --git a/client/src/sceditor/emoticons/sick.png b/client/public/sceditor/emoticons/sick.png similarity index 100% rename from client/src/sceditor/emoticons/sick.png rename to client/public/sceditor/emoticons/sick.png diff --git a/client/src/sceditor/emoticons/sideways.png b/client/public/sceditor/emoticons/sideways.png similarity index 100% rename from client/src/sceditor/emoticons/sideways.png rename to client/public/sceditor/emoticons/sideways.png diff --git a/client/src/sceditor/emoticons/silly.png b/client/public/sceditor/emoticons/silly.png similarity index 100% rename from client/src/sceditor/emoticons/silly.png rename to client/public/sceditor/emoticons/silly.png diff --git a/client/src/sceditor/emoticons/sleeping.png b/client/public/sceditor/emoticons/sleeping.png similarity index 100% rename from client/src/sceditor/emoticons/sleeping.png rename to client/public/sceditor/emoticons/sleeping.png diff --git a/client/src/sceditor/emoticons/smile.png b/client/public/sceditor/emoticons/smile.png similarity index 100% rename from client/src/sceditor/emoticons/smile.png rename to client/public/sceditor/emoticons/smile.png diff --git a/client/src/sceditor/emoticons/tongue.png b/client/public/sceditor/emoticons/tongue.png similarity index 100% rename from client/src/sceditor/emoticons/tongue.png rename to client/public/sceditor/emoticons/tongue.png diff --git a/client/src/sceditor/emoticons/unsure.png b/client/public/sceditor/emoticons/unsure.png similarity index 100% rename from client/src/sceditor/emoticons/unsure.png rename to client/public/sceditor/emoticons/unsure.png diff --git a/client/src/sceditor/emoticons/w00t.png b/client/public/sceditor/emoticons/w00t.png similarity index 100% rename from client/src/sceditor/emoticons/w00t.png rename to client/public/sceditor/emoticons/w00t.png diff --git a/client/src/sceditor/emoticons/wassat.png b/client/public/sceditor/emoticons/wassat.png similarity index 100% rename from client/src/sceditor/emoticons/wassat.png rename to client/public/sceditor/emoticons/wassat.png diff --git a/client/src/sceditor/emoticons/whistling.png b/client/public/sceditor/emoticons/whistling.png similarity index 100% rename from client/src/sceditor/emoticons/whistling.png rename to client/public/sceditor/emoticons/whistling.png diff --git a/client/src/sceditor/emoticons/wink.png b/client/public/sceditor/emoticons/wink.png similarity index 100% rename from client/src/sceditor/emoticons/wink.png rename to client/public/sceditor/emoticons/wink.png diff --git a/client/src/sceditor/emoticons/wub.png b/client/public/sceditor/emoticons/wub.png similarity index 100% rename from client/src/sceditor/emoticons/wub.png rename to client/public/sceditor/emoticons/wub.png diff --git a/client/src/sceditor/example.html b/client/public/sceditor/example.html similarity index 100% rename from client/src/sceditor/example.html rename to client/public/sceditor/example.html diff --git a/client/src/sceditor/languages/ar.js b/client/public/sceditor/languages/ar.js similarity index 100% rename from client/src/sceditor/languages/ar.js rename to client/public/sceditor/languages/ar.js diff --git a/client/src/sceditor/languages/ca.js b/client/public/sceditor/languages/ca.js similarity index 100% rename from client/src/sceditor/languages/ca.js rename to client/public/sceditor/languages/ca.js diff --git a/client/src/sceditor/languages/cn.js b/client/public/sceditor/languages/cn.js similarity index 100% rename from client/src/sceditor/languages/cn.js rename to client/public/sceditor/languages/cn.js diff --git a/client/src/sceditor/languages/cs.js b/client/public/sceditor/languages/cs.js similarity index 100% rename from client/src/sceditor/languages/cs.js rename to client/public/sceditor/languages/cs.js diff --git a/client/src/sceditor/languages/de.js b/client/public/sceditor/languages/de.js similarity index 100% rename from client/src/sceditor/languages/de.js rename to client/public/sceditor/languages/de.js diff --git a/client/src/sceditor/languages/el.js b/client/public/sceditor/languages/el.js similarity index 100% rename from client/src/sceditor/languages/el.js rename to client/public/sceditor/languages/el.js diff --git a/client/src/sceditor/languages/en-US.js b/client/public/sceditor/languages/en-US.js similarity index 100% rename from client/src/sceditor/languages/en-US.js rename to client/public/sceditor/languages/en-US.js diff --git a/client/src/sceditor/languages/en.js b/client/public/sceditor/languages/en.js similarity index 100% rename from client/src/sceditor/languages/en.js rename to client/public/sceditor/languages/en.js diff --git a/client/src/sceditor/languages/es.js b/client/public/sceditor/languages/es.js similarity index 100% rename from client/src/sceditor/languages/es.js rename to client/public/sceditor/languages/es.js diff --git a/client/src/sceditor/languages/et.js b/client/public/sceditor/languages/et.js similarity index 100% rename from client/src/sceditor/languages/et.js rename to client/public/sceditor/languages/et.js diff --git a/client/src/sceditor/languages/fa.js b/client/public/sceditor/languages/fa.js similarity index 100% rename from client/src/sceditor/languages/fa.js rename to client/public/sceditor/languages/fa.js diff --git a/client/src/sceditor/languages/fi.js b/client/public/sceditor/languages/fi.js similarity index 100% rename from client/src/sceditor/languages/fi.js rename to client/public/sceditor/languages/fi.js diff --git a/client/src/sceditor/languages/fr.js b/client/public/sceditor/languages/fr.js similarity index 100% rename from client/src/sceditor/languages/fr.js rename to client/public/sceditor/languages/fr.js diff --git a/client/src/sceditor/languages/gl.js b/client/public/sceditor/languages/gl.js similarity index 100% rename from client/src/sceditor/languages/gl.js rename to client/public/sceditor/languages/gl.js diff --git a/client/src/sceditor/languages/hu.js b/client/public/sceditor/languages/hu.js similarity index 100% rename from client/src/sceditor/languages/hu.js rename to client/public/sceditor/languages/hu.js diff --git a/client/src/sceditor/languages/id.js b/client/public/sceditor/languages/id.js similarity index 100% rename from client/src/sceditor/languages/id.js rename to client/public/sceditor/languages/id.js diff --git a/client/src/sceditor/languages/it.js b/client/public/sceditor/languages/it.js similarity index 100% rename from client/src/sceditor/languages/it.js rename to client/public/sceditor/languages/it.js diff --git a/client/src/sceditor/languages/ja.js b/client/public/sceditor/languages/ja.js similarity index 100% rename from client/src/sceditor/languages/ja.js rename to client/public/sceditor/languages/ja.js diff --git a/client/src/sceditor/languages/lt.js b/client/public/sceditor/languages/lt.js similarity index 100% rename from client/src/sceditor/languages/lt.js rename to client/public/sceditor/languages/lt.js diff --git a/client/src/sceditor/languages/nb.js b/client/public/sceditor/languages/nb.js similarity index 100% rename from client/src/sceditor/languages/nb.js rename to client/public/sceditor/languages/nb.js diff --git a/client/src/sceditor/languages/nl.js b/client/public/sceditor/languages/nl.js similarity index 100% rename from client/src/sceditor/languages/nl.js rename to client/public/sceditor/languages/nl.js diff --git a/client/src/sceditor/languages/pl.js b/client/public/sceditor/languages/pl.js similarity index 100% rename from client/src/sceditor/languages/pl.js rename to client/public/sceditor/languages/pl.js diff --git a/client/src/sceditor/languages/pt-BR.js b/client/public/sceditor/languages/pt-BR.js similarity index 100% rename from client/src/sceditor/languages/pt-BR.js rename to client/public/sceditor/languages/pt-BR.js diff --git a/client/src/sceditor/languages/pt.js b/client/public/sceditor/languages/pt.js similarity index 100% rename from client/src/sceditor/languages/pt.js rename to client/public/sceditor/languages/pt.js diff --git a/client/src/sceditor/languages/ru.js b/client/public/sceditor/languages/ru.js similarity index 100% rename from client/src/sceditor/languages/ru.js rename to client/public/sceditor/languages/ru.js diff --git a/client/src/sceditor/languages/sk.js b/client/public/sceditor/languages/sk.js similarity index 100% rename from client/src/sceditor/languages/sk.js rename to client/public/sceditor/languages/sk.js diff --git a/client/src/sceditor/languages/sv.js b/client/public/sceditor/languages/sv.js similarity index 100% rename from client/src/sceditor/languages/sv.js rename to client/public/sceditor/languages/sv.js diff --git a/client/src/sceditor/languages/template.js b/client/public/sceditor/languages/template.js similarity index 100% rename from client/src/sceditor/languages/template.js rename to client/public/sceditor/languages/template.js diff --git a/client/src/sceditor/languages/tr.js b/client/public/sceditor/languages/tr.js similarity index 100% rename from client/src/sceditor/languages/tr.js rename to client/public/sceditor/languages/tr.js diff --git a/client/src/sceditor/languages/tw.js b/client/public/sceditor/languages/tw.js similarity index 100% rename from client/src/sceditor/languages/tw.js rename to client/public/sceditor/languages/tw.js diff --git a/client/src/sceditor/languages/uk.js b/client/public/sceditor/languages/uk.js similarity index 100% rename from client/src/sceditor/languages/uk.js rename to client/public/sceditor/languages/uk.js diff --git a/client/src/sceditor/languages/vi.js b/client/public/sceditor/languages/vi.js similarity index 100% rename from client/src/sceditor/languages/vi.js rename to client/public/sceditor/languages/vi.js diff --git a/client/src/sceditor/minified/formats/bbcode.js b/client/public/sceditor/minified/formats/bbcode.js similarity index 100% rename from client/src/sceditor/minified/formats/bbcode.js rename to client/public/sceditor/minified/formats/bbcode.js diff --git a/client/src/sceditor/minified/formats/xhtml.js b/client/public/sceditor/minified/formats/xhtml.js similarity index 100% rename from client/src/sceditor/minified/formats/xhtml.js rename to client/public/sceditor/minified/formats/xhtml.js diff --git a/client/src/sceditor/minified/icons/material.js b/client/public/sceditor/minified/icons/material.js similarity index 100% rename from client/src/sceditor/minified/icons/material.js rename to client/public/sceditor/minified/icons/material.js diff --git a/client/src/sceditor/minified/icons/monocons.js b/client/public/sceditor/minified/icons/monocons.js similarity index 100% rename from client/src/sceditor/minified/icons/monocons.js rename to client/public/sceditor/minified/icons/monocons.js diff --git a/client/src/sceditor/minified/jquery.sceditor.bbcode.min.js b/client/public/sceditor/minified/jquery.sceditor.bbcode.min.js similarity index 100% rename from client/src/sceditor/minified/jquery.sceditor.bbcode.min.js rename to client/public/sceditor/minified/jquery.sceditor.bbcode.min.js diff --git a/client/src/sceditor/minified/jquery.sceditor.min.js b/client/public/sceditor/minified/jquery.sceditor.min.js similarity index 100% rename from client/src/sceditor/minified/jquery.sceditor.min.js rename to client/public/sceditor/minified/jquery.sceditor.min.js diff --git a/client/src/sceditor/minified/jquery.sceditor.xhtml.min.js b/client/public/sceditor/minified/jquery.sceditor.xhtml.min.js similarity index 100% rename from client/src/sceditor/minified/jquery.sceditor.xhtml.min.js rename to client/public/sceditor/minified/jquery.sceditor.xhtml.min.js diff --git a/client/src/sceditor/minified/plugins/alternative-lists.js b/client/public/sceditor/minified/plugins/alternative-lists.js similarity index 100% rename from client/src/sceditor/minified/plugins/alternative-lists.js rename to client/public/sceditor/minified/plugins/alternative-lists.js diff --git a/client/src/sceditor/minified/plugins/autosave.js b/client/public/sceditor/minified/plugins/autosave.js similarity index 100% rename from client/src/sceditor/minified/plugins/autosave.js rename to client/public/sceditor/minified/plugins/autosave.js diff --git a/client/src/sceditor/minified/plugins/autoyoutube.js b/client/public/sceditor/minified/plugins/autoyoutube.js similarity index 100% rename from client/src/sceditor/minified/plugins/autoyoutube.js rename to client/public/sceditor/minified/plugins/autoyoutube.js diff --git a/client/src/sceditor/minified/plugins/dragdrop.js b/client/public/sceditor/minified/plugins/dragdrop.js similarity index 100% rename from client/src/sceditor/minified/plugins/dragdrop.js rename to client/public/sceditor/minified/plugins/dragdrop.js diff --git a/client/src/sceditor/minified/plugins/format.js b/client/public/sceditor/minified/plugins/format.js similarity index 100% rename from client/src/sceditor/minified/plugins/format.js rename to client/public/sceditor/minified/plugins/format.js diff --git a/client/src/sceditor/minified/plugins/plaintext.js b/client/public/sceditor/minified/plugins/plaintext.js similarity index 100% rename from client/src/sceditor/minified/plugins/plaintext.js rename to client/public/sceditor/minified/plugins/plaintext.js diff --git a/client/src/sceditor/minified/plugins/undo.js b/client/public/sceditor/minified/plugins/undo.js similarity index 100% rename from client/src/sceditor/minified/plugins/undo.js rename to client/public/sceditor/minified/plugins/undo.js diff --git a/client/src/sceditor/minified/plugins/v1compat.js b/client/public/sceditor/minified/plugins/v1compat.js similarity index 100% rename from client/src/sceditor/minified/plugins/v1compat.js rename to client/public/sceditor/minified/plugins/v1compat.js diff --git a/client/src/sceditor/minified/sceditor.min.js b/client/public/sceditor/minified/sceditor.min.js similarity index 100% rename from client/src/sceditor/minified/sceditor.min.js rename to client/public/sceditor/minified/sceditor.min.js diff --git a/client/src/sceditor/minified/themes/content/default.min.css b/client/public/sceditor/minified/themes/content/default.min.css similarity index 100% rename from client/src/sceditor/minified/themes/content/default.min.css rename to client/public/sceditor/minified/themes/content/default.min.css diff --git a/client/src/sceditor/minified/themes/default.min.css b/client/public/sceditor/minified/themes/default.min.css similarity index 100% rename from client/src/sceditor/minified/themes/default.min.css rename to client/public/sceditor/minified/themes/default.min.css diff --git a/client/src/sceditor/minified/themes/defaultdark.min.css b/client/public/sceditor/minified/themes/defaultdark.min.css similarity index 100% rename from client/src/sceditor/minified/themes/defaultdark.min.css rename to client/public/sceditor/minified/themes/defaultdark.min.css diff --git a/client/src/sceditor/minified/themes/famfamfam.png b/client/public/sceditor/minified/themes/famfamfam.png similarity index 100% rename from client/src/sceditor/minified/themes/famfamfam.png rename to client/public/sceditor/minified/themes/famfamfam.png diff --git a/client/src/sceditor/minified/themes/modern.min.css b/client/public/sceditor/minified/themes/modern.min.css similarity index 100% rename from client/src/sceditor/minified/themes/modern.min.css rename to client/public/sceditor/minified/themes/modern.min.css diff --git a/client/src/sceditor/minified/themes/office-toolbar.min.css b/client/public/sceditor/minified/themes/office-toolbar.min.css similarity index 100% rename from client/src/sceditor/minified/themes/office-toolbar.min.css rename to client/public/sceditor/minified/themes/office-toolbar.min.css diff --git a/client/src/sceditor/minified/themes/office.min.css b/client/public/sceditor/minified/themes/office.min.css similarity index 100% rename from client/src/sceditor/minified/themes/office.min.css rename to client/public/sceditor/minified/themes/office.min.css diff --git a/client/src/sceditor/minified/themes/square.min.css b/client/public/sceditor/minified/themes/square.min.css similarity index 100% rename from client/src/sceditor/minified/themes/square.min.css rename to client/public/sceditor/minified/themes/square.min.css diff --git a/client/src/pages/create-debate/index.tsx b/client/src/pages/create-debate/index.tsx index 7bdfd9c..ae1cc87 100644 --- a/client/src/pages/create-debate/index.tsx +++ b/client/src/pages/create-debate/index.tsx @@ -10,17 +10,17 @@ export default function CreateDebatePage() { try { const link = document.createElement('link'); link.rel = 'stylesheet'; - link.href = '/src/sceditor/minified/themes/default.min.css'; + link.href = '/sceditor/minified/themes/default.min.css'; document.head.appendChild(link); const sceditorScript = document.createElement('script'); - sceditorScript.src = '/src/sceditor/minified/sceditor.min.js'; + sceditorScript.src = '/sceditor/minified/sceditor.min.js'; sceditorScript.onload = () => { const formatScript = document.createElement('script'); - formatScript.src = '/src/sceditor/minified/formats/xhtml.js'; + formatScript.src = '/sceditor/minified/formats/xhtml.js'; formatScript.onload = () => { if (textareaRef.current) { - fetch('/src/pages/create-debate/emoticons.json') + fetch('/sceditor/emoticons/emoticons.json') .then(response => response.json()) .then((emoticons: string[]) => { const emoticonsConfig: { dropdown: { [key: string]: string } } = { dropdown: {} }; @@ -32,8 +32,8 @@ export default function CreateDebatePage() { (window as any).sceditor.create(textareaRef.current, { format: 'xhtml', - style: '/src/sceditor/minified/themes/default.min.css', - emoticonsRoot: '/src/sceditor/emoticons/', + style: '/sceditor/minified/themes/default.min.css', + emoticonsRoot: '/sceditor/emoticons/', emoticons: emoticonsConfig }); diff --git a/client/src/sceditor/emoticons/emoticons.json b/client/src/sceditor/emoticons/emoticons.json deleted file mode 100644 index 42b2042..0000000 --- a/client/src/sceditor/emoticons/emoticons.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - "alien.png", - "angel.png", - "angry.png", - "blink.png", - "blush.png", - "cheerful.png", - "cool.png", - "cwy.png", - "devil.png", - "dizzy.png", - "ermm.png", - "face.png", - "getlost.png", - "grin.png", - "happy.png", - "heart.png", - "kissing.png", - "laughing.png", - "ninja.png", - "pinch.png", - "pouty.png", - "sad.png", - "shocked.png", - "sick.png", - "sideways.png", - "silly.png", - "sleeping.png", - "smile.png", - "tongue.png", - "unsure.png", - "w00t.png", - "wassat.png", - "whistling.png", - "wink.png", - "wub.png" -] \ No newline at end of file diff --git a/client/tsconfig.json b/client/tsconfig.json index a7fc6fb..2798b89 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -20,6 +20,6 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true }, - "include": ["src"], + "include": ["src", "public/sceditor"], "references": [{ "path": "./tsconfig.node.json" }] }