-
AuthorPosts
-
December 1, 2013 at 2:59 pm #195072
hi,
i have the following problem:
when i manually add a table in a text-block using the word-press editor everything works fine in the beginning. But when i reopen the text-block the editor automatically inserts several tags before the table.
In the beginning I thought that would be the fault of the wordpress-editor and i tried out some others. But the problem didn’t disappear, no matter what editor I used. So I suppose, that there is some compatibility issue with the enfold theme…
With best regards
PhilippDecember 2, 2013 at 5:43 am #195186Hi p_niedrich!
Can you please post the “tags” that is appearing when you insert a table? Please switch it to Text editor when adding html tags. Note that the theme has its own Table element under Content element panel.
Regards,
IsmaelDecember 2, 2013 at 11:26 am #195247The tags are non-breaking spaces ( ). I would use the Enfold-Table Element, unfortunately it doesn’t support images (would be a nice new feature)….
December 3, 2013 at 12:20 pm #195728Hi!
Are you working on a the Visual Editor? You should be working on the Text editor while editing HTML tags to avoid the spaces. The Table element does support images. Edit a row then insert the img tag:
<img width="100" height="100" src="http://www.shop.hidra.com.tr/wp-content/uploads/image_6186_1.jpg">
Don’t forget to define the width and the height.
Cheers!
IsmaelDecember 3, 2013 at 11:37 pm #195913Hi Ismael,
thanks for your tip with the tables. You were right of course, I didn’t know, that you can use shortcodes. However the layout possibilities of the enfold-table are limited. Then I would have to change the css of the table and that wouldn’t make things any easier, since I would have to change the table in general. Not just this specific one for which I need a very particular outfit. If I’m correct there is no possibility to assign an id or class to the enfold-table, right?
About my problem:
When I open the textblock the visual editor appears and displays everything nicely. When I switch to the code-editor, suddenly there are the non-breaking spaces. When I switch back to the visual editor I have blank spaces as well. Its very weired and seems to be like a bug.
Of course I can delete the none-braking tags and save, but when I reopen, the same problem begins again.Thanks for your help
December 4, 2013 at 10:01 am #196024Hi!
Non-breaking spaces are produce when you press “Enter” while working on the Visual Editor. Please try to work on the Text or code editor. Please try to wrap your table in a div tag.
Best regards,
IsmaelDecember 4, 2013 at 10:26 am #196050Hi,
I know that pressing enter produces a none-breaking space in a paragraph tag, but I don’t press enter. It happens automatically.
When I put the table in a div tag, the non-breaking spaces still appear, now between the div-tag and the table-tag…
- This reply was modified 11 years ago by p_niedrich.
December 7, 2013 at 6:20 pm #197359Hey!
As far as I know this is a result of the wpautop filter that attempts to add spacing tags and wrap your content to style it properly.
The best and most typically suggested work around is to use a plugin for these kinds of elements so that you can insert the shortcode to output the data without the filters causing a conflict.
Cheers!
Devin -
AuthorPosts
- The topic ‘Problem with tables in text-blocks’ is closed to new replies.