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

Can't insert images #880

Closed
david-colombo opened this issue Nov 14, 2018 · 1 comment
Closed

Can't insert images #880

david-colombo opened this issue Nov 14, 2018 · 1 comment

Comments

@david-colombo
Copy link

Informations

I can't insert an image manually nor the image gets inserted after uploading.
Trumbowyg Version 2.11.1

My Code

$('#blogtext').trumbowyg({
            lang: 'de',
            btnsDef: {
            // Create a new dropdown
            image: {
                dropdown: ['insertImage', 'upload'],
                ico: 'insertImage'
            	}
        	},
            btns: [
                ['viewHTML'],
                ['undo', 'redo'], // Only supported in Blink browsers
                ['formatting'],
                ['strong', 'em', 'del'],
                ['foreColor', 'backColor'],
                ['fontsize'],
                ['superscript', 'subscript'],
                ['link'],
                ['image'],
                ['justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull'],
                ['unorderedList', 'orderedList'],
                ['horizontalRule'],
                ['removeformat'],
                ['historyUndo','historyRedo'],
                ['fullscreen']
            ],
            plugins: {
                upload: {
                    serverPath: 'php/upload-blog.php',
                    fileFieldName: 'image',
                }
            },
            autogrow: true,
            urlProtocol: true
        });
@Alex-D
Copy link
Owner

Alex-D commented Nov 15, 2018

It's a known bug in 2.11. Please rollback to 2.10 for now, sorry.

Duplicates #878

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

No branches or pull requests

2 participants