Skip to content

Commit

Permalink
Merge branch 'release-1.6.3'
Browse files Browse the repository at this point in the history
Conflicts:
	DTRichTextEditor.podspec
  • Loading branch information
odrobnik committed Aug 30, 2013
2 parents 2115b9b + 593c512 commit 463bd02
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Core/Externals/DTCoreText
Submodule DTCoreText updated 35 files
+1 −0 AppledocSettings.plist
+1 −1 Core/Externals/DTFoundation
+82 −8 Core/Source/DTCSSListStyle.h
+5 −0 Core/Source/DTCSSStylesheet.h
+288 −55 Core/Source/DTCSSStylesheet.m
+15 −0 Core/Source/DTCompatibility.h
+0 −1 Core/Source/DTCoreText.h
+70 −8 Core/Source/DTCoreTextConstants.h
+1 −1 Core/Source/DTCoreTextGlyphRun.m
+21 −11 Core/Source/DTCoreTextLayoutFrame.h
+375 −110 Core/Source/DTCoreTextLayoutFrame.m
+8 −1 Core/Source/DTCoreTextLayoutLine.h
+2 −0 Core/Source/DTCoreTextLayoutLine.m
+7 −129 Core/Source/DTCoreTextParagraphStyle.m
+74 −67 Core/Source/DTHTMLAttributedStringBuilder.m
+5 −0 Core/Source/DTHTMLElement.h
+73 −20 Core/Source/DTHTMLElement.m
+20 −3 Core/Source/DTTextAttachment.h
+3 −0 Core/Source/NSAttributedString+DTCoreText.m
+5 −0 Core/Source/NSMutableAttributedString+HTML.h
+86 −2 Core/Source/NSMutableAttributedString+HTML.m
+6 −2 Core/Source/NSScanner+HTML.m
+0 −0 Core/Source/default.css.c
+78 −0 Core/Test/Resources/CSSCascading.html
+215 −0 Core/Test/Resources/CSSOOMCrash.html
+16 −1 Core/Test/Source/DTCSSStylesheetTest.m
+0 −36 Core/Test/Source/DTCoreTextParagraphStyleTest.m
+226 −0 Core/Test/Source/DTHTMLAttributedStringBuilderTest.m
+9 −0 Core/Test/Source/NSStringCSSTest.m
+5 −9 DTCoreText.podspec
+46 −8 DTCoreText.xcodeproj/project.pbxproj
+1 −1 Demo/Resources/CurrentTest.html
+44 −0 Demo/Source/DemoTextViewController.m
+32 −0 Documentation/Programming Guide-template.markdown
+4 −0 Readme.markdown
11 changes: 8 additions & 3 deletions Core/Source/DTRichTextEditorView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1907,9 +1907,14 @@ - (void)paste:(id)sender
if (webArchive)
{
NSAttributedString *attributedText = [[NSAttributedString alloc] initWithWebArchive:webArchive options:[self textDefaults] documentAttributes:NULL];
[self _pasteAttributedString:attributedText inRange:_selectedTextRange];

return;

if (attributedText)
{

[self _pasteAttributedString:attributedText inRange:_selectedTextRange];

return;
}
}

NSData *HTMLdata = [pasteboard dataForPasteboardType:@"public.html"];
Expand Down
3 changes: 2 additions & 1 deletion DTRichTextEditor.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'DTRichTextEditor'
spec.version = '1.6.2'
spec.version = '1.6.3'
spec.platform = :ios, '4.3'
spec.license = 'BSD'
spec.source = { :git => '[email protected]:parts/dtrichtexteditor.git', :tag => spec.version.to_s }
Expand All @@ -9,6 +9,7 @@ Pod::Spec.new do |spec|
spec.dependency 'DTCoreText', '~>1.6.3'
spec.dependency 'DTWebArchive', '~>0.0.1'
spec.dependency 'DTLoupe', '~>1.5.1'
spec.dependency 'DTFoundation', '~>1.5.2'
spec.frameworks = 'AssetsLibrary'
spec.requires_arc = true
spec.homepage = 'http://www.cocoanetics.com/parts/dtrichtexteditor/'
Expand Down
5 changes: 5 additions & 0 deletions Documentation/Change Log-template.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Change Log

This is the history of version updates.

Version 1.6.3

- FIXED: Pasting from Google Drive might yield empty content
- CHANGED: Updated DTCoreText to 1.6.6

Version 1.6.2

- FIXED: Removed unnecessary test that would prevent redrawing for "empty" contents
Expand Down

0 comments on commit 463bd02

Please sign in to comment.