wenqingzzz

693 经验值

我发现初次提交的版本是dev-master,使用的时候还要加上dev-master

composer require wenqing/laravel-edit:dev-master

怎样给自己的项目,添加一个版本号呢?

自己找到了一个教程这个可以的
http://blog.csdn.net/terry_water/article/details/50477023

我把包裹的标签从script换成了div就可以使用了。不知道怎么回事

<div type="text/javascript" style="height:200px;" id="container" name="body">  
{!! old('body') !!}  
</div>  
<script type="text/javascript" style="height:200px;" id="container" name="body">  
{!! old('body') !!}  
</script>  

仿照视频的代码进行编写,在执行gulp后,替换一下app.blade.php的引入代码后,编辑器无法显示出来了,还报了错误。之前的也是可以的,这个是怎么回事?

Templates should only be responsible for mapping the state to the UI.   
Avoid placing tags with side-effects in your templates, such as <script>,  
as they will not be parsed.
Cannot read property 'offsetWidth' of null //uedit报错了

删除不了自己的回复,我编辑为空,点击修改,自动填充了上一次的内容。

 { 
  id: 1, 
  title: "Recusandae ut sunt in molestias ipsum aspernatur.", 
  class_id: 1, 
  sort: 5, 
  description: "Excepturi et iusto qui vel aut.", 
  created_at: "2016-12-09 17:46:24", 
  updated_at: "2016-12-09 17:46:24", 
  blog_class: { id: 1, class_name: "前端技术", sort: 1 }
   }
 { 
  id: 1, 
  title: "Recusandae ut sunt in molestias ipsum aspernatur.", 
  class_id: 1, 
  sort: 5, 
  description: "Excepturi et iusto qui vel aut.", 
  created_at: "2016-12-09 17:46:24", 
  updated_at: "2016-12-09 17:46:24", 
  blog_class: "前端技术"
   }
 { 
  id: 1, 
  title: "Recusandae ut sunt in molestias ipsum aspernatur.", 
  class_id: 1, 
  sort: 5, 
  description: "Excepturi et iusto qui vel aut.", 
  created_at: "2016-12-09 17:46:24", 
  updated_at: "2016-12-09 17:46:24", 
  blog_class: { id: 1, class_name: "前端技术", sort: 1 }
   }