修正tinyMCE的Tool > Source Code在Bootstrap 的Modal Window下不能正常工作问题

昨天有同事反映说后台做行程的一个编辑器, 出问题了。一看tinyMCE的Plugin  Tool > Source Code 在BootStrap的Modal Window下不能编辑.









一开始以为是Chrome兼容性问题, 因为在console log发现了以下错误。加上了async: false还是不管用。

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.

send @ jquery-1.11.1.min.js:4


经过Google一番, 原来是BootStrap的Propagation问题导致的,加上以下代码,问题解决。

// prevent Bootstrap from hijacking TinyMCE modal focus
$(document).on(‘focusin’, function(e) {
if ($(e.target).closest(“.mce-window”).length) {


  1. Woah! I’m really enjoying thhe template/theme oof this website.
    It’s simple, yet effective. A lott of times it’s very hard to get that “perfect balance”between sperb usability and vixual appeal.
    I must say you’ve dpne a great job with this. Also, the blog loads very fast forr me on Safari.
    Superb Blog!
    beasiswa india 2016

  2. hey there and thank you ffor your info – I have
    definitely picked upp something new from right here.
    I did however expertise some technical points using this site, aas I experienced to reload the
    site many times previous to I could get it to load correctly.
    I had been wondering if your hosting is OK?
    Not that I’m complaining, but slow loading instances
    times will often affect your placement in google and could damage your high quality score if advertising and marketing wiith Adwords.
    Anyway I am adding this RSS to my email and can lookk out
    for a lot more off your respective intriguing content.
    Ensure that yyou update this again ery soon.
    mata kuliah manajemen pendidikan

  3. Earn on the Internet from $ 5000 per day, do not strain, the details are here: http://pagebin.com/wTiaNgOS

    online casino deposit with paypal, how to make money with uber and lyft, online casino malaysia maybank, paypal send iban, paypal transfer points to credit card, credit card transfer money, credit card balance transfer rates nz, casino games online in usa
    , casino filipino online application, how to make a lot of money with adsense, how to make money online 100 real, casino online free 3 card poker, hsbc credit card balance transfer singapore, make money online selling photos, free casino online no deposit required, moneygram money transfer service, is there any legitimate ways to make money online, earn money parttime from home uk, online casino no deposit bonus code
    , paypal transfer money to bank of america, how to buy play money on pokerstars, online casino sk, best system to make money online, how to earn money from home online, how to make some extra cash on the side, how to make money with online marketing, how much money can apps make from ads

  4. I’ve been surfing online more han 3 hours today, yet I never found any
    intreresting article like yours. It’s pretty worth enough for me.
    In my view, if all web owners and bloggers made good content as you did,
    the internet will be much more useful than ever before.

  5. Thank you a lot for sharing this wit all people you really
    understand what you’re speaking approximately! Bookmarked.
    Please additionally consult with my site =). We could
    have a hyperlink exchange contract between us

  6. Howdy! Ѕomeone in my Myspace gгoup shared tһis site
    wіth uѕ sо I came to check іt out. Ι’m definitеly enjoying tһe information. I’m book-marking and wіll Ƅе tweeting tһis
    to my followers! Wonderful blog and wonderful design ɑnd style.

  7. Ι was more than happʏ to discover this great site. I wɑnted to tһank yoᥙ foг ones
    time for this fantastic гead!! I definiteⅼy ⅼiked every little bіt of it ɑnd I hаѵe you
    book-marked to seе new stuff оn уour web site.

  8. I do not even know how I ended up here, but I
    thought this post was good. I do not know who
    you are but certainly you’re going to a famous blogger if you aren’t already
    😉 Cheers!

  9. First of all Iwant to say excellent blog!

    I had a quick question that I’d like to ask if you don’t mind.

    I was interested to find out how you center yourself and clear your head prior
    to writing. I’ve had a tough time clearing my mind in getting my thoughts
    out.I do enjoy writing but it just seems like the first 10 to 15 minutes are lost just trying to
    figure out how to begin. Any ideas or tips?
    Many thanks!

  10. Definitely believe that which you stated. Your favorite
    justification seemed to be on the net the easiest thing to
    bee aware of. I say to you, I definitely get irked while peoplke think
    about worries that they plainly do not know about. You managed to hhit the nail upon the
    top and defined out the whole thing without having side-effects , people
    can take a signal. Will likely be back to get more. Thanks

  11. An intriguing discussion is definitely worth comment. I think that you
    need to write more about this issue, it might not be a taboo matter but generally people do not talk
    about these subjects. To the next! All the best!!

  12. Hello just wanted to give you a quick heads up. The words in your article seem tto be running off the screen in Chrome.

    I’m not sue if this is a format idsue or something
    to do with web browser compatibility but I figured
    I’d post to llet you know. The design look great though!
    Hope you get the issue fixed soon. Kudos

  13. I’ve been surfing online greater than three hours today, yet
    I never discovered any fascinating article like yours.
    It is beautiful worth enough for me. In my opinion, if all web owners and
    bloggers made just right content material as you did, the net will be much more
    useful than ever before.

  14. It’s the best time to make some plans for the future and it’s time to
    be happy. I have read this post and if I could I want to suggest you some interesting things or advice.
    Perhaps you could write next articles referring to this article.
    I desire to read even more things about it!

  15. I have been surfing online more than 2 hours today, yet I never found any
    interesting article like yours. It is pretty worth enough for me.
    In my opinion, if all site owners and bloggers made
    good content as you did, the internet will be much more useful than ever before.