Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Block, SQL: SQL commands aren't recognized #1181

Closed
steffenmaechtel opened this issue Dec 14, 2018 · 1 comment
Closed

Code Block, SQL: SQL commands aren't recognized #1181

steffenmaechtel opened this issue Dec 14, 2018 · 1 comment

Comments

@steffenmaechtel
Copy link

Code Block, SQL: SQL commands aren't recognized by CodeMirror (javascript library) and hence, they aren't highlighted correctly.

Example mark up:
<span role="presentation" style="padding-right: 0.1px;">FROM fe_users u</span>

Comparisons:

1) CodeMirror: SQL demonstration
https://codemirror.net/1/contrib/sql/

key word: "join"
<span class="sql-keyword">join </span>

2) CodeMirror: SQL Mode for CodeMirror
https://codemirror.net/mode/sql/

key word: FROM
<span class="cm-keyword">FROM</span>

@ssddanbrown
Copy link
Member

Thanks for reporting @steffenmaechtel.

Just need to tweak the mode used. Fix will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants