mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-18 05:12:21 +01:00
feat(forums): add bootstrap-markdown editor into post new topic page
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
* init
|
||||
*/
|
||||
vm.init = function () {
|
||||
$("#postContent").markdown({
|
||||
autofocus:false,
|
||||
savable:false,
|
||||
iconlibrary: 'fa',
|
||||
resize: 'vertical'
|
||||
});
|
||||
|
||||
// get forum info by state params
|
||||
ForumsService.get({
|
||||
forumId: $stateParams.forumId
|
||||
|
||||
Reference in New Issue
Block a user