Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 为什么laravel 8 submit上的ckeditor5为空而不是值?_Php_Jquery_Ckeditor_Laravel 8_Ckeditor5 - Fatal编程技术网

Php 为什么laravel 8 submit上的ckeditor5为空而不是值?

Php 为什么laravel 8 submit上的ckeditor5为空而不是值?,php,jquery,ckeditor,laravel-8,ckeditor5,Php,Jquery,Ckeditor,Laravel 8,Ckeditor5,问题 我已经使用ckeditor 5创建了一个表单,如下所示,但是当我提交表单时,表单将变为null而不是值。 请检查我的密码 查看 页面标题 页面类型(选择页面类型以确定要创建的页面) <select name="pagetype" class="form-control pagetype" required=""> @fo

问题

我已经使用ckeditor 5创建了一个表单,如下所示,但是当我提交表单时,表单将变为null而不是值。 请检查我的密码

查看

页面标题 页面类型(选择页面类型以确定要创建的页面)
                        <select name="pagetype" class="form-control pagetype" required="">
                          @foreach($pagetypes as $ptype)  
                          
                          <option @if($pagetypelabel==$ptype->type) selected="" @endif value="{{$ptype->id}}">{{$ptype->type}} </option>
                          
                          @endforeach

                        </select>

                    </div>
                </div>

             <div class="replace">

    <div class="row">
        
        <div class="col-md-6 col-sm-6">
            <label>Top Featured Image</label>
    <input type="file" class="form-control" name="top_featured_image">        
        </div>
        <div class="col-md-6 col-sm-6">
            <label>Tagline </label>
            
            <input type="text" class="form-control" name="tagline">        



        </div>
    </div>
    <br>
    <br>


    <div >
        <div class="row" >
            
            <div class="col-md-12 col-sm-12">
                <label>Page Content</label>

        <textarea rows="5" cols="20" name="pagecontent" class="form-control"  id="pagecontent"></textarea>        



            </div>
           
        </div>
    </div>

             </div>
               

            <br>
            <br>

                <button type="submit"
                class="btn btn-success btn-md btn-square waves-effect waves-light"
                data-bs-toggle="modal" data-bs-target=".transaction-detailModal">
                 Create Page
            </button>


               </form>
提交后,页面内容项始终为空

Laravel版本“Laravel/framework”:“^8.40”, CKEDITOR5

 echo(json_encode($request->all()));

 exit;

}