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

Latex editor textarea is not focusable when trigger in bootstrap 4 modal. #3

Open
EdisonDelgado opened this issue Jun 17, 2020 · 0 comments

Comments

@EdisonDelgado
Copy link

Hello, I am trying to show your plugin on a modal of bootstrap 4. the problem is that the textarea editor is not editable.

Captura de Pantalla 2020-06-17 a la(s) 12 21 50

tinymce config:

        tinymce.init({
            selector: '#texto-opcion',
            width: '100%',
            rows: 10,
            language: 'es_MX',
            external_plugins: {'mathjax': '/node_modules/tinymce-mathjax/plugin.min.js'},
            toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table | fontsizeselect | mathjax',
            mathjax: {
                lib: '/node_modules/mathjax/es5/tex-mml-chtml.js', //required path to mathjax
                //symbols: {start: '\\(', end: '\\)'}, //optional: mathjax symbols
                className: "math-tex", //optional: mathjax element class
                configUrl: '/node_modules/tinymce-mathjax/config.js' //optional: mathjax config js
            },
            setup: function (editor) {
                editor.on('change', function () {
                    tinymce.triggerSave();
                })}

        });

Best regards!

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

No branches or pull requests

1 participant