Skip to content

Commit

Permalink
fixup! ✨(forum) enables latext mathematical syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
carofun committed Dec 22, 2022
1 parent 63f1bd6 commit 1be6e75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ashley/editor/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def inlinetex(props):
def render_children(props):
"""
Decorator for the blocks in Draft.js ContentState. TEXBLOCK is a custom
block that is used through atomic blocs.
block that is used through atomic blocks.
"""
if props.get("block").get("data").get("type") == "TEXBLOCK":
return DOM.create_element(
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ module.exports = {
testMatch: [__dirname + '/js/**/*.spec.+(ts|tsx|js)'],
testURL: 'https://localhost',
transformIgnorePatterns: [
'/node_modules/(?!(' + 'lodash-es|' + 'draft-js-latex-plugin' + ')/)',
'/node_modules/(?!(lodash-es|draft-js-latex-plugin)/)',
],
};

0 comments on commit 1be6e75

Please sign in to comment.