mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-26 16:46:12 +01:00 
			
		
		
		
	chore: up markdown
This commit is contained in:
		| @@ -95,7 +95,7 @@ | |||||||
|         "nodebb-plugin-dbsearch": "6.0.1", |         "nodebb-plugin-dbsearch": "6.0.1", | ||||||
|         "nodebb-plugin-emoji": "5.0.10", |         "nodebb-plugin-emoji": "5.0.10", | ||||||
|         "nodebb-plugin-emoji-android": "4.0.0", |         "nodebb-plugin-emoji-android": "4.0.0", | ||||||
|         "nodebb-plugin-markdown": "12.0.3", |         "nodebb-plugin-markdown": "12.0.4", | ||||||
|         "nodebb-plugin-mentions": "4.1.1", |         "nodebb-plugin-mentions": "4.1.1", | ||||||
|         "nodebb-plugin-ntfy": "1.0.15", |         "nodebb-plugin-ntfy": "1.0.15", | ||||||
|         "nodebb-plugin-spam-be-gone": "2.0.7", |         "nodebb-plugin-spam-be-gone": "2.0.7", | ||||||
|   | |||||||
| @@ -234,7 +234,7 @@ define('forum/topic', [ | |||||||
| 			let codeBlocks = $('[component="topic"] [component="post/content"] code:not([data-button-added])'); | 			let codeBlocks = $('[component="topic"] [component="post/content"] code:not([data-button-added])'); | ||||||
| 			codeBlocks = codeBlocks.filter((i, el) => $(el).text().includes('\n')); | 			codeBlocks = codeBlocks.filter((i, el) => $(el).text().includes('\n')); | ||||||
| 			const container = $('<div class="hover-parent position-relative"></div>'); | 			const container = $('<div class="hover-parent position-relative"></div>'); | ||||||
| 			const buttonDiv = $('<button component="copy/code/btn" class="hover-visible position-absolute end-0 top-0 btn btn-sm btn-outline-secondary me-4"><i class="fa fa-fw fa-copy"></i></button>'); | 			const buttonDiv = $('<button component="copy/code/btn" class="hover-visible position-absolute end-0 top-0 btn btn-sm btn-outline-secondary mt-2 me-4"><i class="fa fa-fw fa-copy"></i></button>'); | ||||||
| 			codeBlocks.parent().wrap(container).parent().append(buttonDiv); | 			codeBlocks.parent().wrap(container).parent().append(buttonDiv); | ||||||
| 			codeBlocks.parent().parent().find('[component="copy/code/btn"]').translateAttr('title', '[[topic:copy-code]]'); | 			codeBlocks.parent().parent().find('[component="copy/code/btn"]').translateAttr('title', '[[topic:copy-code]]'); | ||||||
| 			codeBlocks.attr('data-button-added', 1); | 			codeBlocks.attr('data-button-added', 1); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user