0
在集成了MarkItUp作为编辑器的web界面中。但我有渲染问题:MarkItUp渲染问题与引导相结合
一方面内部(厚蓝色)框架不适合外部(见下图右侧)。
另一方面,厚厚的蓝色框架延伸到图标栏。由此产生的问题是,您必须非常非常平滑地使用鼠标移动才能使用下拉菜单 - 如果您不这样做,它们将很快失效。
对于澄清小提琴:
var mySettings = {
\t markupSet: [ \t
\t \t {name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]', dropMenu :[
{name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
{name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
]},
{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]', dropMenu :[
{name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
{name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
]},
{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]', dropMenu :[
{name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
{name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
]},
{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]', dropMenu :[
{name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
{name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
]}
\t ]
}
$(document).ready(function() \t {
$('#markitup').markItUp(mySettings);
});
.markItUp .markItUpButton1 a {
\t background-image:url(https://rawgit.com/markitup/1.x/master/markitup/sets/default/images/bold.png);
}
.markItUp .markItUpButton2 a {
\t background-image:url(https://rawgit.com/markitup/1.x/master/markitup/sets/default/images/italic.png);
}
.markItUp .markItUpButton3 a {
\t background-image:url(https://rawgit.com/markitup/1.x/master/markitup/sets/default/images/stroke.png);
}
.markItUp .markItUpButton4 a {
\t background-image:url(https://rawgit.com/markitup/1.x/master/markitup/sets/default/images/list-bullet.png);
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://rawgit.com/markitup/1.x/master/markitup/skins/markitup/style.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://rawgit.com/markitup/1.x/master/markitup/jquery.markitup.js"></script>
<!--script src="https://rawgit.com/markitup/1.x/master/markitup/sets/default/set.js"></script-->
<textarea id="markitup" cols="80" rows="20"></textarea>
我发现(通过连续不包括),该 'bootstrap.min.css'(3.3.7)导致上面的问题。但我不知道如何解决我的问题。
有没有人有解决方案?