mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
TinyMCE - new line issue temporary fix, image floats implemented (image
browser)
This commit is contained in:
@@ -36,6 +36,10 @@ $(document).ready(function()
|
||||
|
||||
eMediaAttribute();
|
||||
});
|
||||
$("#float").change(function () {
|
||||
|
||||
eMediaAttribute();
|
||||
});
|
||||
|
||||
function eMediaAttribute(e)
|
||||
{
|
||||
@@ -57,6 +61,7 @@ $(document).ready(function()
|
||||
var margin_bottom = $('#margin-bottom').val();
|
||||
var margin_right = $('#margin-right').val();
|
||||
var margin_left = $('#margin-left').val();
|
||||
var _float = $('#float').val();
|
||||
|
||||
if(width !='')
|
||||
{
|
||||
@@ -87,6 +92,11 @@ $(document).ready(function()
|
||||
{
|
||||
style = style + 'margin-bottom:' + margin_bottom + 'px;';
|
||||
}
|
||||
|
||||
if(_float =='left' || _float =='right')
|
||||
{
|
||||
style = style + 'float:' + _float + ';';
|
||||
}
|
||||
|
||||
bb = '[img';
|
||||
|
||||
|
Reference in New Issue
Block a user