From e119489357e2ecacf75e5c82e7220d1bb7395fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Tue, 6 May 2014 16:44:34 +0200 Subject: [PATCH] js-editor andere css und line-height loeschen --- app/View/Job/opening_edit.ctp | 2 +- app/webroot/js/bootstrap-wysihtml5.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/View/Job/opening_edit.ctp b/app/View/Job/opening_edit.ctp index c730751..0b86d9e 100644 --- a/app/View/Job/opening_edit.ctp +++ b/app/View/Job/opening_edit.ctp @@ -44,7 +44,7 @@ echo $this->Form->create('DreamjobJobOpening',$default_Form); echo $this->Form->input('DreamjobJobOpening.postcode',array('placeholder'=>__('dreamjob.postcode.placeholder'),'label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class']))); echo $this->Form->input('DreamjobJobOpening.city_id',array("label" => array('text'=>__("dreamjob.city"),"class"=>$default_Form['inputDefaults']['label']['class']))); ?> - Form->textarea('DreamjobJobOpening.text',array("class"=>'form-control',"rows"=>10)); ?> +
Form->textarea('DreamjobJobOpening.text',array("class"=>'form-control',"rows"=>10)); ?>
Form->button(__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary",'type' => 'submit'));?>
diff --git a/app/webroot/js/bootstrap-wysihtml5.js b/app/webroot/js/bootstrap-wysihtml5.js index 293dd01..7629837 100644 --- a/app/webroot/js/bootstrap-wysihtml5.js +++ b/app/webroot/js/bootstrap-wysihtml5.js @@ -222,7 +222,7 @@ e),c.addClass(this.iframe,e));(e="string"===typeof this.config.placeholder?this. b.quirks.ensureProperClearing(this);a.clearsListsInContentEditableCorrectly()||b.quirks.ensureProperClearingOfLists(this);this.initSync&&this.config.sync&&this.initSync();this.textarea.hide();this.parent.fire("beforeload").fire("load")},_initAutoLinking:function(){var d=this,e=a.canDisableAutoLinking(),f=a.doesAutoLinkingInContentEditable();e&&this.commands.exec("autoUrlDetect",!1);if(this.config.autoLink){(!f||f&&e)&&this.parent.observe("newword:composer",function(){d.selection.executeAndRestore(function(a, b){c.autoLink(b.parentNode)})});var g=this.sandbox.getDocument().getElementsByTagName("a"),i=c.autoLink.URL_REG_EXP,h=function(a){a=b.lang.string(c.getTextContent(a)).trim();"www."===a.substr(0,4)&&(a="http://"+a);return a};c.observe(this.element,"keydown",function(a){if(g.length){var a=d.selection.getSelectedNode(a.target.ownerDocument),b=c.getParentElement(a,{nodeName:"A"},4),e;b&&(e=h(b),setTimeout(function(){var a=h(b);a!==e&&a.match(i)&&b.setAttribute("href",a)},0))}})}},_initObjectResizing:function(){var d= ["width","height"],e=d.length,f=this.element;this.commands.exec("enableObjectResizing",this.config.allowObjectResizing);this.config.allowObjectResizing?a.supportsEvent("resizeend")&&c.observe(f,"resizeend",function(a){for(var a=a.target||a.srcElement,c=a.style,h=0,k;h