{"id":1984,"date":"2007-09-03T19:46:36","date_gmt":"2007-09-03T19:46:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/real-wysiwyg\/"},"modified":"2007-09-20T12:43:21","modified_gmt":"2007-09-20T12:43:21","slug":"real-wysiwyg","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/real-wysiwyg\/","author":164815,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.0.2","stable_tag":"0.0.2","tested":"2.2","requires":"2.2","requires_php":"","requires_plugins":"","header_name":"Real WYSIWYG","header_author":"Windy Road","header_description":"","assets_banners_color":"","last_updated":"2007-09-20 12:43:21","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/windyroad.org\/software\/wordpress\/real-wysiwyg-plugin\/#donate","header_plugin_uri":"http:\/\/windyroad.org\/software\/wordpress\/real-wysiwyg-plugin\/","header_author_uri":"http:\/\/windyroad.org","rating":0,"author_block_rating":0,"active_installs":80,"downloads":29621,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.0","0.0.1","0.0.2"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566814","resolution":"2","location":"plugin","width":836,"height":370},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566814","resolution":"3","location":"plugin","width":836,"height":370},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566814","resolution":"1","location":"plugin","width":906,"height":441}},"screenshots":{"1":"Editing a post (in the <a href=\"http:\/\/windyroad.org\/software\/wordpress\/vistered-little-theme\/\">Vistered Little Theme<\/a>) using TinyMCE and the Real WYSIWYG plugin","2":"The same post as published.","3":"Screenshots 1 and 2 combined at 50%. Pixel Perfect."}},"plugin_section":[],"plugin_tags":[83,1332,1975,86,2303],"plugin_category":[46],"plugin_contributors":[82873],"plugin_business_model":[],"class_list":["post-1984","plugin","type-plugin","status-closed","hentry","plugin_tags-admin","plugin_tags-editor","plugin_tags-formatting","plugin_tags-post","plugin_tags-wysiwyg","plugin_category-editor-and-writing","plugin_contributors-tompahoward","plugin_committers-bestweblayout","plugin_committers-tompahoward"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/real-wysiwyg.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/real-wysiwyg\/trunk\/screenshot-1.png?rev=1566814","caption":"Editing a post (in the <a href=\"http:\/\/windyroad.org\/software\/wordpress\/vistered-little-theme\/\">Vistered Little Theme<\/a>) using TinyMCE and the Real WYSIWYG plugin"},{"src":"https:\/\/ps.w.org\/real-wysiwyg\/trunk\/screenshot-2.png?rev=1566814","caption":"The same post as published."},{"src":"https:\/\/ps.w.org\/real-wysiwyg\/trunk\/screenshot-3.png?rev=1566814","caption":"Screenshots 1 and 2 combined at 50%. Pixel Perfect."}],"raw_content":"<!--section=description-->\n<p>The Real WYSIWYG plugin turns the TinyMCE Visual Editor in to a real WYSIWYG editor.\nTinyMCE allows you to import style sheets into the editor window.  The Real\nWYSIWYG plugin uses this ability to import your theme's style sheet, allowing it to display\nthe post as it will look when published.<\/p>\n\n<h3>Release Notes<\/h3>\n\n<ul>\n<li>0.0.2\n\n<ul>\n<li>Fixed bug that prevented automatic support for the Default Theme.<\/li>\n<li>Added some more CSS for the Default theme.<\/li>\n<\/ul><\/li>\n<li>0.0.1\n\n<ul>\n<li>Added filter for inserting extra CSS.<\/li>\n<li>Tweeked the escaping of the generated extra CSS output.<\/li>\n<\/ul><\/li>\n<li>0.0.0 \n\n<ul>\n<li>Initial Release<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>copy the 'real-wysiwyg' directory to your 'wp-contents\/plugins' directory.<\/li>\n<li>Activate the Real WYSIWYG plugin in your plugins administration page.<\/li>\n<li>If your theme supports Real WYSIWYG then the editor window should now look\nthe same as your posts.  Otherwise, you may need to configure Real WYSIWYG via the options\nmenu to include any extra stylesheets your theme may have and to include any extra css\nso that the editor body will be correctly styled.\nFor instance, for the default them, the following CSS is some of what is added to the Extra CSS field:\n.mceContentBody {\n    line-height:1.31em;\n    text-align:justify;\n    font-size:0.8em;\n    margin:2.5ex auto;\n    padding: 0pt;\n    width:450px;\n    background:transparent url('..\/..\/themes\/default\/images\/kubrickbg-ltr.jpg') repeat-y scroll center top;\n    background-color:#e7e7e7;\n}<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I make my theme support Real WYSIWYG<\/dt>\n<dd><p>If your theme uses more than onw style sheet, then you should add a filter\non <code>real_wysiwyg_style_sheets<\/code> and add the URI for you stylesheets to the\narray that is passed in.\nIf you have stylesheets that are only for IE 6,\nthen you can create a filter on <code>real_wysiwyg_style_sheets_ie<\/code> and add your\nIE 6 stylesheets to it's array.\nIf you have inline styles that need to be applied, then create a filter on\n    real_wysiwyg_extra_css and add your required CSS to the string.<\/p>\n\n<p>You will also need to update you stylesheets so that the CSS that applies\nto a <code>post<\/code> also applies to an element with a class of <code>mceContentBody<\/code>. If\nyou don't have it already, Firebug for Firefox is excellent for determining\nwhat styles are applied on an element.  You can use this to see what is\napplied to the <code>post<\/code> and create extra rules for the <code>mceContentBody<\/code> for\nanything it missed.  Finally, I use screenshots of the post in the editor\nand as published to compare the styles and tweek the <code>mceContentBody<\/code> style\nas needed.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"The Real WYSIWYG plugin turns the TinyMCE Visual Editor in to a real WYSIWYG editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1984"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tompahoward"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1984"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1984"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1984"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1984"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1984"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}