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

Add an option for previewStyle = "none" so we can disable it entirely. #171

Open
roknow opened this issue May 7, 2018 · 3 comments
Open
Labels
Category: ETC Feature New features to implement

Comments

@roknow
Copy link

roknow commented May 7, 2018

Version

1.1.0

Test Environment

Ubuntu 16.04
Chrome Version 65.0.3325.181 (Official Build) (64-bit)

Current Behavior

Currently the only options are either tab or vertical, but other than hiding it with CSS there is no way to disable it entirely.

Expected Behavior

We would like a way to disable the preview feature and provide our own UI/preview option. Hiding the tab with CSS seems to be one possible solution; however, I'm not sure if there are any other possible side-effects of hiding the UI, nor is it a reliable answer.

Oh, and thanks for all the hard work on this editor! Much <3

@sohee-lee7 sohee-lee7 added Need Discussion Need discussion or investigation Category: ETC and removed Type: Feature Request labels Feb 21, 2019
@sohee-lee7 sohee-lee7 added Feature New features to implement and removed Need Discussion Need discussion or investigation labels Mar 8, 2019
@brettz9
Copy link

brettz9 commented Oct 12, 2019

In a related way---I'd be interested in a button to collapse the preview so one can fully use Markdown without a preview.

@SlyNet
Copy link

SlyNet commented Oct 15, 2020

Didn't find it in the docs. According to commit you can disable preview by passing previewStyle: "global"

@ivanjaros
Copy link

ivanjaros commented Oct 13, 2022

I do rendering on the backend due to specific sanitization rules so preview is actually strongly undesired for me. This is simply a must have. There needs to be one flag to disable the preview(and all related tabs and whatnot).

editor version 3.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: ETC Feature New features to implement
Projects
None yet
Development

No branches or pull requests

6 participants