{"action":"created","issue":{"url":"https://api.github.com/repos/summernote/summernote/issues/1529","labels_url":"https://api.github.com/repos/summernote/summernote/issues/1529/labels{/name}","comments_url":"https://api.github.com/repos/summernote/summernote/issues/1529/comments","events_url":"https://api.github.com/repos/summernote/summernote/issues/1529/events","html_url":"https://github.com/summernote/summernote/issues/1529","id":123555231,"number":1529,"title":"cannot submit form data from source code mode, need to enable WYSIWYG mode","user":{"login":"alligator77","id":6526798,"avatar_url":"https://avatars.githubusercontent.com/u/6526798?v=3","gravatar_id":"","url":"https://api.github.com/users/alligator77","html_url":"https://github.com/alligator77","followers_url":"https://api.github.com/users/alligator77/followers","following_url":"https://api.github.com/users/alligator77/following{/other_user}","gists_url":"https://api.github.com/users/alligator77/gists{/gist_id}","starred_url":"https://api.github.com/users/alligator77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alligator77/subscriptions","organizations_url":"https://api.github.com/users/alligator77/orgs","repos_url":"https://api.github.com/users/alligator77/repos","events_url":"https://api.github.com/users/alligator77/events{/privacy}","received_events_url":"https://api.github.com/users/alligator77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-22T21:00:25Z","updated_at":"2015-12-27T11:04:50Z","closed_at":null,"body":"Probably I am find bug..\r\nSummernote cannot submit form data from 'source code' mode, need to enable WYSIWYG mode for submit form\r\n\r\nExample screencast http://screencast.com/t/YZF1AKrBQ\r\n\r\nSample script (modified example file codemirror.html from 0.7.0 release)\r\n```html\r\n<?php\r\n\t$data = (!$_POST['summernote']) ? '<b>test</b> sample TEXT' : $_POST['summernote'];\r\n?><!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n  <meta charset=\"UTF-8\">\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" /> \r\n  <title>summernote - codemirror</title>\r\n\r\n  <script src=\"http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js\"></script>\r\n  <link rel=\"stylesheet\" href=\"http://netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css\" />\r\n  <script src=\"http://netdna.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.js\"></script>\r\n  <link rel=\"stylesheet\" href=\"http://netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css\" />\r\n  <link rel=\"stylesheet\" type=\"text/css\" href=\"http://cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.min.css\" />\r\n  <link rel=\"stylesheet\" href=\"http://cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/theme/blackboard.min.css\">\r\n  <link rel=\"stylesheet\" href=\"http://cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/theme/monokai.min.css\">\r\n  <script type=\"text/javascript\" src=\"http://cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.js\"></script>\r\n  <script src=\"http://cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/mode/xml/xml.min.js\"></script>\r\n  <script src=\"http://cdnjs.cloudflare.com/ajax/libs/codemirror/2.36.0/formatting.min.js\"></script>\r\n  <link rel=\"stylesheet\" href=\"../dist/summernote.css\">\r\n  <script type=\"text/javascript\" src=\"../dist/summernote.js\"></script>\r\n\r\n  <script type=\"text/javascript\">\r\n    $(document).ready(function() {\r\n      $('.summernote').summernote({\r\n        height: 200,\r\n        tabsize: 2,\r\n        codemirror: {\r\n          theme: 'monokai'\r\n        }\r\n      });\r\n    });\r\n  </script>\r\n</head>\r\n<body>\r\n<pre>\r\n\t<?= $data ?>\r\n</pre>\r\n<form method=\"post\">\r\n<textarea class=\"summernote\" name=\"summernote\"><?= $data ?></textarea>\r\n\t<input type=\"submit\" value=\"Send\" />\r\n</form>\r\n</body>\r\n</html>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/summernote/summernote/issues/comments/167401490","html_url":"https://github.com/summernote/summernote/issues/1529#issuecomment-167401490","issue_url":"https://api.github.com/repos/summernote/summernote/issues/1529","id":167401490,"user":{"login":"alligator77","id":6526798,"avatar_url":"https://avatars.githubusercontent.com/u/6526798?v=3","gravatar_id":"","url":"https://api.github.com/users/alligator77","html_url":"https://github.com/alligator77","followers_url":"https://api.github.com/users/alligator77/followers","following_url":"https://api.github.com/users/alligator77/following{/other_user}","gists_url":"https://api.github.com/users/alligator77/gists{/gist_id}","starred_url":"https://api.github.com/users/alligator77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alligator77/subscriptions","organizations_url":"https://api.github.com/users/alligator77/orgs","repos_url":"https://api.github.com/users/alligator77/repos","events_url":"https://api.github.com/users/alligator77/events{/privacy}","received_events_url":"https://api.github.com/users/alligator77/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T11:04:50Z","updated_at":"2015-12-27T11:04:50Z","body":"hackerwins, Your temporary solution is working well. Tnx."}}