prathamVaidya / supercode-tinymce-plugin

Opensource and Powerful Source Code editor for TinyMCE. It is the only tinyMCE plugin that allows TinyMCE to work as a Markdown Editor.
https://supercode.prathamvaidya.in
GNU General Public License v3.0
11 stars 4 forks source link

Feature: Fallback Modal Dialog for inline and older versions #2

Closed prathamVaidya closed 4 months ago

prathamVaidya commented 4 months ago

Description

Fixes #1

Adding a fallback modal dialog box when Custom View is not supported. This will be used in these cases:

The dialog box theme will be updated per the current editor's theme and options.

Changes

Option Use
fallbackModal Set it to true to explicitly use modal. Defaults to automatic detection
modalPrimaryColor Modal Primary Color if using custom tinymce skin
modalSecondaryColor Modal Seondary Color if using custom tinymce skin
dark Set true if your modal primary color is dark to add matching border
debug Set true by default. Set false to disable debug warnings

Tasks

Screenshots:

image