mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 07:32:59 +00:00 
			
		
		
		
	Refactored macro mechanism
Now there is now longer a dummy DOM element corresponding to the macro itself. Instead, macros must create a single element child. This allows us to more easily fit Bootstrap's requirements for HTML layout (eg, that problem with links in navbars not being recognised). The refactoring isn't complete, there are still a few bugs to chase down
This commit is contained in:
		| @@ -19,7 +19,7 @@ exports.info = { | ||||
| }; | ||||
|  | ||||
| exports.executeMacro = function() { | ||||
| 	return [$tw.Tree.Text($tw.utils.getVersionString())]; | ||||
| 	return $tw.Tree.Text($tw.utils.getVersionString()); | ||||
| }; | ||||
|  | ||||
| })(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston