Retaining formatting after hitting enter

-Overwrote default enter behavior as hotkey
-checks for current active formats
-prepares after adding new line character