• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Editor kills tabs

Affected version
2.0 DP10

Kirby

Well-known member
#1
When I was trying to post
PHP:
$container['oAuth'] = function($c)
{
	$class = $this->extendClass('XF\SubContainer\OAuth');
	return new $class($c, $this);
};

$container['oAuth'] = function($c)
{
	$class = $this->extendClass('XF\SubContainer\OAuth');
	return new $class($c, $this);
};
in another bug report I noticed that the editor killed the tabs (Chrome 60.0.3112.101/Windows 7 64bit).
This also happens on a local DP10 installation.
 

jauburn

Well-known member
#2
Editor kills user-inserted white spaces, too. Impossible to type anything in normal text (NOT code) that is not flush left. Not even leading tabs in normal paragraphs are supported. Definitely a creativity killer.
 

Mike

XenForo developer
Staff member
#3
This should be fixed (for the next roll out here). Note specifically that we will only try to maintain white space if what is being pasted is plain text (or within a <pre> tag). In my tests, pasting from something like PHPStorm pastes into a <pre> tag, where as Sublime Text pastes as plain text.