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

Plus Editor: code formatting for words/characters, too #346

Open
helgeklein opened this Issue Oct 14, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@helgeklein

helgeklein commented Oct 14, 2018

If I am not mistaken, Plus Editor currently only offers code formatting in the toolbar for entire paragraphs. In other words, when you select the "code" style, it wraps the entire paragraph in a grey box. That is useful, but I would also like to be able to style individual words as code (like I am doing right here).

As I discovered by chance that is possible by switching to code view and wrapping the words to be formatted as code in <code> tags. It would be nice to make that process easier by adding a toolbar icon and keyboard shortcut.

@mobitar

This comment has been minimized.

Member

mobitar commented Oct 14, 2018

The Plus Editor is based on an open source component called Summernote, so it's unlikely we'll be making modifications to it ourself. I agree this would be useful, but I don't see this feature too often in any WYSIYG editor.

As a sort of personal recommendation for now, another option would be to use backticks ` in the Fancy Markdown Editor, and then open the HTML view in that same editor to get the final HTML. Personally I like to write code in Markdown, then convert to HTML when necessary to get in that format. All that can be done using the Fancy Markdown Editor.

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