Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

panel with buttons doesn't appear

See original GitHub issue

Issue Description

How to reproduce the bug?

(a little hard to post full code beacuse i’m using it in an AspNet project with a lot of code, but…)

the scripts are loaded in a bundleConfig via C#:

var bScripts = ObtemScriptBundle("~/FrameworkJS/Plugins");
                         ...a hundred more plugins...,

The same as above is made with .css files. As I said, no errors while loading any of them, also if I use DevTools under the Newtork tab, I can see the loaded plugin of trumbowyg, .js and .css

I don’t know what more code you need, but I’m editng the one i posted down here. (and as I said, even with the basic demo, no custom options or buttons, it didn’t show up the panel)

No errors appear when instantiating an creating elementes with this plugin, but for some reason that I want to discover, the panel with the buttons/options doesn’t show up.


<column largura="*" style="background-color: #eeeeee">
            <div class="row">
                <div class="col-md-12 rowParent">                    

My JS used inside VIEWMODEL:

var editorHtmlElement = document.createElement('textarea');
        editorHtmlElement.className = "col-md-6";           
        editorHtmlElement.setAttribute('placeholder', 'placeholder...');
        var OptionsTrumbowyg = {};

        OptionsTrumbowyg.btns = [
            ['undo', 'redo'],
            ['justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull'],
            ['strong', 'em', 'del'],
            ['unorderedList', 'orderedList'],
        OptionsTrumbowyg.autogrow = true;  

        var editorHtmljQuery = $(editorHtmlElement);



no panel with buttons appear, even if I try with no custom options just the default… Anyone knows why? (No errors appears when loading page or something like that)

I Also posted a question on stackoverflow, that have some images to describe better what happen.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

Calvin-2DWebcommented, Dec 27, 2017

My friend, have you read my entire post? it’s there that no errors show up. But anyway, i managed to make it work properly changing the created element from a textarea to a div, and placing the .trumbowyg() to the final of all appends and CSS declarations, then it worked properly. I’m testing the resources of the plugin right now, but it seems to be great, thanks!

Alex-Dcommented, Dec 27, 2017

Did you have any error in your browser console?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java - Why doesn't my buttons show in the panel?
@Store shah First thing, do not use null layout.Second thing do not setBounds on button and add that panel as content pane of...
Read more >
I don't have a display option in control panel in Windows 10 Pro
I don't have a display option in control panel in Windows 10 Pro. ... Choose Start button > Settings (gear icon) > System...
Read more >
UI buttons on a panel not working - Unity Forum
Buttons in first panel work. Buttons in second panel do not. I'm using the SetActive to show and hide panels.
Read more >
Fix Control Panel Missing From Start Menu Windows 10
Fix Control Panel Missing From Start Menu Windows 10In the Windows 10, Creators Edition update your find the control panel icon from the ......
Read more >
Fix Control Panel Missing from Start Menu Windows 10
Fix Control Panel Missing from Start Menu Windows 10. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found